Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modify patches so that they run after a syncdb

  • Loading branch information...
commit 3baebf4a409f326153971d3c267f05f48a23f74a 1 parent fc3e54f
Edward Abraham authored
18 seabirds/sql-patches/2012-02-21-add-comments-and-sections.sql
View
@@ -1,14 +1,14 @@
BEGIN;
-CREATE TABLE "cms_section" (
- "id" serial NOT NULL PRIMARY KEY,
- "key" varchar(50) NOT NULL,
- "description" text NOT NULL,
- "staff_only_write" boolean NOT NULL,
- "staff_only_read" boolean NOT NULL,
- "allow_comments" boolean NOT NULL
-)
-;
+--CREATE TABLE "cms_section" (
+-- "id" serial NOT NULL PRIMARY KEY,
+-- "key" varchar(50) NOT NULL,
+-- "description" text NOT NULL,
+-- "staff_only_write" boolean NOT NULL,
+-- "staff_only_read" boolean NOT NULL,
+-- "allow_comments" boolean NOT NULL
+--)
+--;
INSERT INTO "cms_section" VALUES (1, 'discussion', 'Member discussion', FALSE, FALSE, TRUE);
INSERT INTO "cms_section" VALUES (2, 'news', 'WSU news', TRUE, FALSE, TRUE);
12 seabirds/sql-patches/2012-04-04-collaboration-choices.sql
View
@@ -1,10 +1,10 @@
BEGIN;
-CREATE TABLE "profile_collaborationchoice" (
- "id" serial NOT NULL PRIMARY KEY,
- "label" varchar(50) NOT NULL,
- "description" text NOT NULL
-)
-;
+--CREATE TABLE "profile_collaborationchoice" (
+-- "id" serial NOT NULL PRIMARY KEY,
+-- "label" varchar(50) NOT NULL,
+-- "description" text NOT NULL
+--)
+--;
CREATE TABLE "profile_userprofile_collaboration_choices" (
"id" serial NOT NULL PRIMARY KEY,
"userprofile_id" integer NOT NULL,
Please sign in to comment.
Something went wrong with that request. Please try again.