Skip to content

Commit

Permalink
#2
Browse files Browse the repository at this point in the history
fix drop not exists table
  • Loading branch information
pihel committed Jan 3, 2016
1 parent 391a68a commit 5d5f473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function updateData_v1_055() {
} //updateData_v1_050

public function updateData_v1_061() {
$this->db->exec('DROP TABLE "cashes_goal"');
$this->exec('DROP TABLE IF EXISTS "cashes_goal"');
$this->db->exec('CREATE TABLE "cashes_goal" (
"id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
"nmcl_id" INTEGER NOT NULL,
Expand Down

0 comments on commit 5d5f473

Please sign in to comment.