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

8 lines
193 B
SQL

CREATE TYPE "TimeTrackingMapping" AS ENUM (
'untracked',
'fibonacci',
'hourly'
);
ALTER TABLE projects ADD COLUMN time_tracking "TimeTrackingMapping" NOT NULL DEFAULT 'untracked';