From 46964a8a889517e92dcb78da2675804eed3dbe1c Mon Sep 17 00:00:00 2001 From: Habeas Codice Date: Fri, 13 Feb 2015 02:57:28 -0800 Subject: make sql work on both db types --- install/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/update.php') diff --git a/install/update.php b/install/update.php index d2f1ead3c..86731e165 100644 --- a/install/update.php +++ b/install/update.php @@ -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 "); -- cgit v1.2.3