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

8 lines
187 B
MySQL
Raw Normal View History

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