aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-05-12 20:59:54 +0000
committernikrou <nikrou@piwigo.org>2010-05-12 20:59:54 +0000
commit3f982e844351fa0eaa2d52242ded60956988ef4d (patch)
treef232260a7a5fb2d9891a1f237fe3e88e5fb46327
parent45eee83ef7f25e14d733aabd72e1f52f5e9640d3 (diff)
SQLite cannot drop tables on cascade
git-svn-id: http://piwigo.org/svn/trunk@6166 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--install/piwigo_structure-pdo-sqlite.sql2
-rw-r--r--install/piwigo_structure-sqlite.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/install/piwigo_structure-pdo-sqlite.sql b/install/piwigo_structure-pdo-sqlite.sql
index 6b48218c8..ac90d3e9f 100644
--- a/install/piwigo_structure-pdo-sqlite.sql
+++ b/install/piwigo_structure-pdo-sqlite.sql
@@ -357,7 +357,7 @@ CREATE INDEX "tags_i1" ON "piwigo_tags" ("url_name");
-- piwigo_themes
-----------------------------------------------------------------------------
-DROP TABLE IF EXISTS "piwigo_themes" CASCADE;
+DROP TABLE IF EXISTS "piwigo_themes";
CREATE TABLE "piwigo_themes"
(
"id" varchar(64) default '' NOT NULL,
diff --git a/install/piwigo_structure-sqlite.sql b/install/piwigo_structure-sqlite.sql
index 6b48218c8..ac90d3e9f 100644
--- a/install/piwigo_structure-sqlite.sql
+++ b/install/piwigo_structure-sqlite.sql
@@ -357,7 +357,7 @@ CREATE INDEX "tags_i1" ON "piwigo_tags" ("url_name");
-- piwigo_themes
-----------------------------------------------------------------------------
-DROP TABLE IF EXISTS "piwigo_themes" CASCADE;
+DROP TABLE IF EXISTS "piwigo_themes";
CREATE TABLE "piwigo_themes"
(
"id" varchar(64) default '' NOT NULL,