From 211eaabadfe3abef456a35786dc0486224449aa6 Mon Sep 17 00:00:00 2001
From: Chris Mytton <self@hecticjeff.net>
Date: Tue, 10 Sep 2013 13:19:36 +0100
Subject: [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.
---
 db/schema_0029-add_deleted_flag_to_body.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 db/schema_0029-add_deleted_flag_to_body.sql

(limited to 'db/schema_0029-add_deleted_flag_to_body.sql')

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;
-- 
cgit v1.2.3

