From bdc0bef4acb7477c53a5f8d57f2b7e66da03190f Mon Sep 17 00:00:00 2001
From: Hakim Cassimally <hakim@mysociety.org>
Date: Mon, 9 Dec 2013 15:16:38 +0000
Subject: remove action check on admin_log

to allow a wider range of action logging.
---
 db/schema_0030-drop-action-log-check-constraint.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 db/schema_0030-drop-action-log-check-constraint.sql

(limited to 'db/schema_0030-drop-action-log-check-constraint.sql')

diff --git a/db/schema_0030-drop-action-log-check-constraint.sql b/db/schema_0030-drop-action-log-check-constraint.sql
new file mode 100644
index 000000000..dfc5387f3
--- /dev/null
+++ b/db/schema_0030-drop-action-log-check-constraint.sql
@@ -0,0 +1,6 @@
+BEGIN;
+
+ALTER TABLE admin_log 
+    DROP CONSTRAINT admin_log_action_check;
+
+COMMIT;
-- 
cgit v1.2.3

