Added notify-threads to update.php
This commit is contained in:
parent
3d37a688c7
commit
edcc33ab5c
1 changed files with 15 additions and 2 deletions
17
update.php
17
update.php
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
define( 'UPDATE_VERSION' , 1125 );
|
define( 'UPDATE_VERSION' , 1126 );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -1076,4 +1076,17 @@ set_config('system','allowed_themes','dispy,quattro,testbubble,vier,darkbubble,d
|
||||||
|
|
||||||
function update_1124() {
|
function update_1124() {
|
||||||
q("alter table item add index (`author-name`) ");
|
q("alter table item add index (`author-name`) ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_1125() {
|
||||||
|
q("CREATE TABLE IF NOT EXISTS `notify-threads` (
|
||||||
|
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||||
|
`notify-id` INT NOT NULL,
|
||||||
|
`master-parent-item` INT( 10 ) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`parent-item` INT( 10 ) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`receiver-uid` INT NOT NULL,
|
||||||
|
INDEX ( `master-parent-item` ),
|
||||||
|
INDEX ( `receiver-uid` )
|
||||||
|
) ENGINE = MyISAM DEFAULT CHARSET=utf8");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue