Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 57b71e6

Browse files
author
Charles Marion
committed
BUG : fixed upgrade/3.0.8.php
1 parent 057efc8 commit 57b71e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/database/upgrade/3.0.8.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ public function preUpgrade()
1010
public function mysql()
1111
{
1212
$sql = "ALTER TABLE folder ADD COLUMN privacy_status integer DEFAULT 0; ";
13+
$this->db->query($sql);
1314
$sql = "ALTER TABLE item ADD COLUMN privacy_status integer DEFAULT 0; ";
1415
$this->db->query($sql);
1516
}
1617

1718
public function pgsql()
1819
{
1920
$sql = "ALTER TABLE folder ADD COLUMN privacy_status integer NOT NULL DEFAULT '0' ; ";
21+
$this->db->query($sql);
2022
$sql = "ALTER TABLE item ADD COLUMN privacy_status integer NOT NULL DEFAULT '0' ; ";
2123
$this->db->query($sql);
2224
}

0 commit comments

Comments
 (0)