summaryrefslogtreecommitdiff
path: root/rt/etc/upgrade/4.1.8/schema.Pg
diff options
context:
space:
mode:
Diffstat (limited to 'rt/etc/upgrade/4.1.8/schema.Pg')
-rw-r--r--rt/etc/upgrade/4.1.8/schema.Pg2
1 files changed, 2 insertions, 0 deletions
diff --git a/rt/etc/upgrade/4.1.8/schema.Pg b/rt/etc/upgrade/4.1.8/schema.Pg
new file mode 100644
index 000000000..a35287e05
--- /dev/null
+++ b/rt/etc/upgrade/4.1.8/schema.Pg
@@ -0,0 +1,2 @@
+ALTER TABLE Tickets ADD COLUMN IsMerged smallint NULL DEFAULT NULL;
+UPDATE Tickets SET IsMerged = 1 WHERE id != EffectiveId;