mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
make sql work on both db types
This commit is contained in:
parent
b340fd5095
commit
46964a8a88
1 changed files with 1 additions and 1 deletions
|
@ -1560,7 +1560,7 @@ function update_r1135() {
|
|||
}
|
||||
|
||||
function update_r1136() {
|
||||
$r1 = q("alter table item add item_unseen smallint(1) not null default '0' ");
|
||||
$r1 = q("alter table item add item_unseen smallint not null default '0' ");
|
||||
$r2 = q("create index item_unseen on item ( item_unseen ) ");
|
||||
$r3 = q("update item set item_unseen = 1 where ( item_flags & 2 ) > 0 ");
|
||||
|
||||
|
|
Loading…
Reference in a new issue