TTime/backend/internal/database/migrations
2024-03-14 13:27:57 +01:00
..
0010_users.sql Sql comments and salts table 2024-03-12 20:44:54 +01:00
0020_projects.sql Breaking changes in projects table related to naming 2024-03-08 07:33:58 +01:00
0030_time_reports.sql Moving the migrations directory into database for embedding 2024-02-28 03:30:05 +01:00
0040_time_report_collections.sql Moving the migrations directory into database for embedding 2024-02-28 03:30:05 +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
0070_salts.sql Commenting out trigger related to salts 2024-03-13 11:46:17 +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