diff options
Diffstat (limited to 'sqitch')
-rw-r--r-- | sqitch/deploy/remove_package_metadata_sha1_hash.sql | 7 | ||||
-rw-r--r-- | sqitch/revert/remove_package_metadata_sha1_hash.sql | 7 | ||||
-rw-r--r-- | sqitch/sqitch.plan | 1 | ||||
-rw-r--r-- | sqitch/verify/remove_package_metadata_sha1_hash.sql | 7 |
4 files changed, 22 insertions, 0 deletions
diff --git a/sqitch/deploy/remove_package_metadata_sha1_hash.sql b/sqitch/deploy/remove_package_metadata_sha1_hash.sql new file mode 100644 index 0000000..f0bb286 --- /dev/null +++ b/sqitch/deploy/remove_package_metadata_sha1_hash.sql @@ -0,0 +1,7 @@ +-- Deploy guix-data-service:remove_package_metadata_sha1_hash to pg + +BEGIN; + +ALTER TABLE package_metadata DROP COLUMN sha1_hash; + +COMMIT; diff --git a/sqitch/revert/remove_package_metadata_sha1_hash.sql b/sqitch/revert/remove_package_metadata_sha1_hash.sql new file mode 100644 index 0000000..d2059dc --- /dev/null +++ b/sqitch/revert/remove_package_metadata_sha1_hash.sql @@ -0,0 +1,7 @@ +-- Revert guix-data-service:remove_package_metadata_sha1_hash from pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; diff --git a/sqitch/sqitch.plan b/sqitch/sqitch.plan index 9e1c540..026aa7f 100644 --- a/sqitch/sqitch.plan +++ b/sqitch/sqitch.plan @@ -7,3 +7,4 @@ buildstatus_enum [appschema] 2019-04-13T11:56:37Z Christopher Baines <mail@cbain initial_import 2019-04-13T13:06:28Z Christopher Baines <mail@cbaines.net> # Import the manually managed database schema git_repositories 2019-05-04T19:03:38Z Christopher Baines <mail@cbaines.net> # Add a git_repositories table git_branches 2019-05-05T14:53:12Z Christopher Baines <mail@cbaines.net> # Add a git_branches table +remove_package_metadata_sha1_hash 2019-05-12T10:37:40Z Christopher Baines <mail@cbaines.net> # Remove the sha1_hash field from package_metadata diff --git a/sqitch/verify/remove_package_metadata_sha1_hash.sql b/sqitch/verify/remove_package_metadata_sha1_hash.sql new file mode 100644 index 0000000..4118a6e --- /dev/null +++ b/sqitch/verify/remove_package_metadata_sha1_hash.sql @@ -0,0 +1,7 @@ +-- Verify guix-data-service:remove_package_metadata_sha1_hash on pg + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; |