aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-02-13 02:57:28 -0800
committerHabeas Codice <habeascodice@federated.social>2015-02-13 02:57:28 -0800
commit46964a8a889517e92dcb78da2675804eed3dbe1c (patch)
treead499f4dabe367dfacad7287f32aca95d507613b
parentb340fd50953089cb835d91c8c6adeee95875a02c (diff)
downloadvolse-hubzilla-46964a8a889517e92dcb78da2675804eed3dbe1c.tar.gz
volse-hubzilla-46964a8a889517e92dcb78da2675804eed3dbe1c.tar.bz2
volse-hubzilla-46964a8a889517e92dcb78da2675804eed3dbe1c.zip
make sql work on both db types
-rw-r--r--install/update.php2
1 files changed, 1 insertions, 1 deletions
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 ");