aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-09-10 13:19:36 +0100
committerChris Mytton <self@hecticjeff.net>2013-09-10 18:09:40 +0100
commit211eaabadfe3abef456a35786dc0486224449aa6 (patch)
tree637fc835a6110c6b30bcb8f3cb98035d9f2e4164
parentdf38951bce57fddf5d4de658b239191f912d5973 (diff)
[Zurich] Add deleted column to body table
This is so Zurich can mark certain external bodies (which may already have problems assigned to them) as deleted, without *actually* deleting them.
-rw-r--r--db/schema_0029-add_deleted_flag_to_body.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/schema_0029-add_deleted_flag_to_body.sql b/db/schema_0029-add_deleted_flag_to_body.sql
new file mode 100644
index 000000000..3a8be7890
--- /dev/null
+++ b/db/schema_0029-add_deleted_flag_to_body.sql
@@ -0,0 +1,6 @@
+BEGIN;
+
+ALTER table body
+ ADD column deleted BOOL NOT NULL DEFAULT 'f';
+
+COMMIT;