summaryrefslogtreecommitdiff
path: root/admin/upgrades/5.0.2.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/upgrades/5.0.2.php')
-rw-r--r--admin/upgrades/5.0.2.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/admin/upgrades/5.0.2.php b/admin/upgrades/5.0.2.php
new file mode 100644
index 0000000..c97ec6f
--- /dev/null
+++ b/admin/upgrades/5.0.2.php
@@ -0,0 +1,20 @@
+<?php
+/**
+ * @package contact
+ */
+
+global $gBitInstaller;
+
+$gBitInstaller->registerPackageUpgrade(
+ [
+ 'package' => 'contact',
+ 'version' => '5.0.2',
+ 'description' => 'Drop old contact_xref, contact_xref_source and contact_xref_type tables now that data is in liberty_xref tables.',
+ ],
+ [
+ [ 'DATADICT' => [
+ [ 'DROPTABLE' => [ [ 'contact_xref', 'contact_xref_source', 'contact_xref_type' ] ] ],
+ [ 'DROPSEQUENCE' => [ [ 'contact_xref_seq' ] ] ],
+ ]],
+ ]
+);