TTime/backend/internal/database/migrations
2024-03-18 22:10:19 +01:00
..
0010_users.sql Removed userId identifier from user table, introducing numerous errors 2024-03-18 22:10:19 +01:00
0020_projects.sql Added new types and changed SQL since apperently sqlite does use autoincrement 2024-03-17 17:47:31 +01:00
0035_weekly_report.sql Extremely important formatting 2024-03-17 20:04:29 +01:00
0049_project_role.sql Added ChangeUserRole and corresponding test, also GetProjectId should be fixed. 2024-03-14 13:27:57 +01:00
0050_user_roles.sql Added ChangeUserRole and corresponding test, also GetProjectId should be fixed. 2024-03-14 13:27:57 +01:00
0060_site_admin.sql Admin SQL table added 2024-03-07 13:09:09 +01:00
README.md Migrations readme warnings 2024-03-02 02:40:17 +01:00

Database migrations

This directory contains all the database migrations for the backend.

[!WARNING] Keep in mind that these migrations are not yet stable. In practice, this means that the database schema may change at any time, and that the migrations may not be backwards compatible.

Running migrations

In the root of the backend directory, run:

make migrate