Add some initial Sqitch migrations
These are based on the state of the current manually managed database.
This commit is contained in:
parent
70faad0437
commit
d69f77d59e
10 changed files with 485 additions and 0 deletions
18
sqitch/deploy/buildstatus_enum.sql
Normal file
18
sqitch/deploy/buildstatus_enum.sql
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue