summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
Diffstat (limited to 'database')
-rw-r--r--database/database.pgsql2
-rw-r--r--database/updates.inc4
2 files changed, 3 insertions, 3 deletions
diff --git a/database/database.pgsql b/database/database.pgsql
index d59fa6e6b..289a2e275 100644
--- a/database/database.pgsql
+++ b/database/database.pgsql
@@ -354,7 +354,7 @@ CREATE TABLE node_access (
grant_update smallint NOT NULL default '0',
grant_delete smallint NOT NULL default '0',
PRIMARY KEY (nid,gid,realm)
-);
+);
--
diff --git a/database/updates.inc b/database/updates.inc
index 21010b747..3d7f408e9 100644
--- a/database/updates.inc
+++ b/database/updates.inc
@@ -1113,7 +1113,7 @@ function update_88() {
$ret[] = update_sql("ALTER TABLE {menu} DROP status");
$ret[] = update_sql("ALTER TABLE {menu} DROP visibility");
$ret[] = update_sql("ALTER TABLE {menu} ADD type INT(2) UNSIGNED DEFAULT '0' NOT NULL");
- }
+ }
else {
$ret[] = update_sql("ALTER TABLE {menu} ADD type smallint");
$ret[] = update_sql("ALTER TABLE {menu} ALTER COLUMN type SET DEFAULT '0'");
@@ -1126,7 +1126,7 @@ function update_88() {
function update_89() {
$ret = array();
-
+
if ($GLOBALS['db_type'] == 'mysql') {
$ret[] = update_sql("ALTER TABLE {node} CHANGE static sticky INT(2) DEFAULT '0' NOT NULL");
}