TTime/backend/internal/database/migrations
2024-03-17 15:34:48 +01:00
..
0010_users.sql Sql comments and salts table 2024-03-12 20:44:54 +01:00
0020_projects.sql Database refactor and test coverage 2024-03-14 13:39:56 +01:00
0035_weekly_report.sql Added signed_by attribute to weekly_report SQL table 2024-03-17 15:34:48 +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