aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1147.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Update/_1147.php')
-rw-r--r--Zotlabs/Update/_1147.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1147.php b/Zotlabs/Update/_1147.php
new file mode 100644
index 000000000..b8f6716f7
--- /dev/null
+++ b/Zotlabs/Update/_1147.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1147 {
+function run() {
+
+ $r1 = q("alter table event add event_priority smallint not null default '0' ");
+ $r2 = q("create index event_priority on event ( event_priority ) ");
+ if($r1 && $r2)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+
+
+} \ No newline at end of file