summaryrefslogtreecommitdiff
path: root/tools/sql-migrate-20130319.sql
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2013-03-19 11:48:46 -0700
committerRichard Jones <richard@mechanicalcat.net>2013-03-19 11:48:46 -0700
commitbf2d2e6998050648a828e641f6aa2382008ea1ab (patch)
tree6c9a4f4ed9e3af20adb6c7056c132d97f488df78 /tools/sql-migrate-20130319.sql
parent673daef6b80d8ea4eda02aaa15c85cdcde343f31 (diff)
downloaddecorator-bf2d2e6998050648a828e641f6aa2382008ea1ab.tar.gz
include the SQL migration info
Diffstat (limited to 'tools/sql-migrate-20130319.sql')
-rw-r--r--tools/sql-migrate-20130319.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sql-migrate-20130319.sql b/tools/sql-migrate-20130319.sql
new file mode 100644
index 0000000..ff7f694
--- /dev/null
+++ b/tools/sql-migrate-20130319.sql
@@ -0,0 +1,2 @@
+ALTER TABLE "packages" ADD COLUMN "hosting_mode" text NOT NULL DEFAULT 'pypi-scrape-crawl';
+ALTER TABLE "packages" ALTER COLUMN "hosting_mode" SET DEFAULT 'pypi-explicit';