aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-03 20:26:20 -0800
committerfriendica <info@friendica.com>2012-01-03 20:26:20 -0800
commitfc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6 (patch)
tree091edb45d73b6bf79534a5d6fbda144b4d81ddf5 /update.php
parent8e6c02cda383b7655ef7c045a1c9cb2c63541b60 (diff)
downloadvolse-hubzilla-fc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6.tar.gz
volse-hubzilla-fc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6.tar.bz2
volse-hubzilla-fc7d0360bb059bf87c5c531a2bfd5bcee3aef3f6.zip
add verb and item to notifications to aid in localisation
Diffstat (limited to 'update.php')
-rw-r--r--update.php20
1 files changed, 19 insertions, 1 deletions
diff --git a/update.php b/update.php
index 6eade22f7..4dff59c98 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1114 );
+define( 'UPDATE_VERSION' , 1115 );
/**
*
@@ -972,3 +972,21 @@ function update_1113() {
q("ALTER TABLE `notify` ADD `verb` CHAR( 255 ) NOT NULL ,
ADD `otype` CHAR( 16 ) NOT NULL");
}
+
+function update_1114() {
+ q("CREATE TABLE IF NOT EXISTS `item_id` (
+`iid` INT NOT NULL ,
+`uid` INT NOT NULL ,
+`face` CHAR( 255 ) NOT NULL ,
+`dspr` CHAR( 255 ) NOT NULL ,
+`twit` CHAR( 255 ) NOT NULL ,
+`stat` CHAR( 255 ) NOT NULL ,
+PRIMARY KEY ( `iid` ),
+INDEX ( `uid` ),
+INDEX ( `face` ),
+INDEX ( `dspr` ),
+INDEX ( `twit` ),
+INDEX ( `stat` )
+) ENGINE = MYISAM ");
+
+}