aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema_0032-moderation.sql
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-05-20 10:25:16 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-09-29 16:46:53 +0100
commit361990d4409ccda79e9f0cf166a505eefeac4495 (patch)
tree6fea825e1ce4e43b314d5b8b83c73d4c052116bd /db/schema_0032-moderation.sql
parent1dd68c2f6fed08b90fdaea8efd8c6bcf0399b8d8 (diff)
Allow underscore in cobrand name/data in database.
Diffstat (limited to 'db/schema_0032-moderation.sql')
-rw-r--r--db/schema_0032-moderation.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/schema_0032-moderation.sql b/db/schema_0032-moderation.sql
index b3caded1e..79be3a4c9 100644
--- a/db/schema_0032-moderation.sql
+++ b/db/schema_0032-moderation.sql
@@ -1,6 +1,8 @@
-- was created in previous versions of this branch
DROP TABLE IF EXISTS moderation_log;
+BEGIN;
+
alter table admin_log add column
user_id int references users(id) null;
@@ -34,3 +36,5 @@ create table user_body_permissions (
),
unique(user_id, body_id, permission_type)
);
+
+COMMIT;