diff --git a/docker/backend/db/migrations/20220205143534_init.sql b/docker/backend/db/migrations/20220205143534_init.sql index 30aa730..e95ed09 100644 --- a/docker/backend/db/migrations/20220205143534_init.sql +++ b/docker/backend/db/migrations/20220205143534_init.sql @@ -17,7 +17,7 @@ */ -- +micrate Up -- SQL in section ' Up ' is executed when this migration is applied -CREATE TYPE user_roles AS ENUM (' Teacher ', ' Student '); +CREATE TYPE user_roles AS ENUM ('Teacher', 'Student'); CREATE TABLE users( id BIGSERIAL PRIMARY KEY,