Add some initial Sqitch migrations

These are based on the state of the current manually managed database.
This commit is contained in:
Christopher Baines 2019-04-14 10:06:13 +01:00
parent 70faad0437
commit d69f77d59e
10 changed files with 485 additions and 0 deletions

View file

@ -0,0 +1,18 @@
-- Deploy guix-data-service:buildstatus_enum to pg
-- requires: appschema
BEGIN;
SET client_min_messages = 'warning';
CREATE TYPE guix_data_service.buildstatus AS ENUM (
'scheduled',
'started',
'succeeded',
'failed',
'failed-dependency',
'failed-other',
'canceled'
);
COMMIT;