aboutsummaryrefslogtreecommitdiff
path: root/sqitch/revert
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-05-13 21:02:53 +0100
committerChristopher Baines <mail@cbaines.net>2019-05-13 21:07:48 +0100
commit7341d1725420b431160536c1cf2b34a662ff0a86 (patch)
treef1490bcbf7133a2f5b8e46910138c991a6cf0ef3 /sqitch/revert
parent9aaab6b751993d6774ed96b0f8632d8af3d565c7 (diff)
downloaddata-service-7341d1725420b431160536c1cf2b34a662ff0a86.tar
data-service-7341d1725420b431160536c1cf2b34a662ff0a86.tar.gz
Store and display the location of packages
Store the location a package can be found at, and display this on the package page. If available, link off to the git repository containing the package.
Diffstat (limited to 'sqitch/revert')
-rw-r--r--sqitch/revert/add_git_repositories_cgit_url_base.sql7
-rw-r--r--sqitch/revert/add_location_information.sql7
2 files changed, 14 insertions, 0 deletions
diff --git a/sqitch/revert/add_git_repositories_cgit_url_base.sql b/sqitch/revert/add_git_repositories_cgit_url_base.sql
new file mode 100644
index 0000000..67c5a87
--- /dev/null
+++ b/sqitch/revert/add_git_repositories_cgit_url_base.sql
@@ -0,0 +1,7 @@
+-- Revert guix-data-service:add_git_repositories_cgit_url_base from pg
+
+BEGIN;
+
+ALTER TABLE git_repositories DROP COLUMN cgit_url_base;
+
+COMMIT;
diff --git a/sqitch/revert/add_location_information.sql b/sqitch/revert/add_location_information.sql
new file mode 100644
index 0000000..31220ed
--- /dev/null
+++ b/sqitch/revert/add_location_information.sql
@@ -0,0 +1,7 @@
+-- Revert guix-data-service:add_location_information from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;