TTime/backend/internal/database/migrations
2024-03-07 20:58:50 +01:00
..
0010_users.sql Moving the migrations directory into database for embedding 2024-02-28 03:30:05 +01:00
0020_projects.sql Moving the migrations directory into database for embedding 2024-02-28 03:30:05 +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
0050_user_roles.sql User_roles table constraints 2024-03-01 07:47:06 +01:00
0060_site_admin.sql update 2024-03-07 20:58:50 +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