mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 09:47:50 +03:00
Подключение к Postgres и тестовый эндпоинт авторизации
This commit is contained in:
1
migrations/2025-03-21-211822_create_user_role/down.sql
Normal file
1
migrations/2025-03-21-211822_create_user_role/down.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TYPE user_role;
|
||||
4
migrations/2025-03-21-211822_create_user_role/up.sql
Normal file
4
migrations/2025-03-21-211822_create_user_role/up.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
CREATE TYPE user_role AS ENUM (
|
||||
'STUDENT',
|
||||
'TEACHER',
|
||||
'ADMIN');
|
||||
Reference in New Issue
Block a user