bitque/migrations/2020-04-24-163323_add_settings/up.sql

8 lines
193 B
MySQL
Raw Normal View History

2023-04-01 22:31:57 +02:00
CREATE TYPE "TimeTrackingMapping" AS ENUM (
2020-04-24 22:32:29 +02:00
'untracked',
'fibonacci',
'hourly'
);
2023-04-01 22:31:57 +02:00
ALTER TABLE projects ADD COLUMN time_tracking "TimeTrackingMapping" NOT NULL DEFAULT 'untracked';