aboutsummaryrefslogtreecommitdiffstats
path: root/install/piwigo_structure-pdo-sqlite.sql
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-19 19:39:15 +0000
committernikrou <nikrou@piwigo.org>2010-03-19 19:39:15 +0000
commit4c461f36b167641fd7e0182d8c2a88f578c14e58 (patch)
treed44f2b7c8fff005db118f177b8f96a0b7f785246 /install/piwigo_structure-pdo-sqlite.sql
parent6b296b293d7ac666548ec74cecf827699f912ff7 (diff)
Fix some sql issues :
- permalink that use if() syntax - add tables themes for other database engines that mysql git-svn-id: http://piwigo.org/svn/trunk@5192 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install/piwigo_structure-pdo-sqlite.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/install/piwigo_structure-pdo-sqlite.sql b/install/piwigo_structure-pdo-sqlite.sql
index 56022d66a..34d4fa0c4 100644
--- a/install/piwigo_structure-pdo-sqlite.sql
+++ b/install/piwigo_structure-pdo-sqlite.sql
@@ -341,6 +341,19 @@ CREATE TABLE piwigo_tags
CREATE INDEX "tags_i1" ON "piwigo_tags" ("url_name");
-----------------------------------------------------------------------------
+-- piwigo_themes
+-----------------------------------------------------------------------------
+
+DROP TABLE IF EXISTS "piwigo_themes" CASCADE;
+CREATE TABLE "piwigo_themes"
+(
+ "id" varchar(64) default '' NOT NULL,
+ "version" varchar(64) NOT NULL default '0',
+ "name" varchar(64) default NULL,
+ PRIMARY KEY ("id")
+);
+
+-----------------------------------------------------------------------------
-- piwigo_upgrade
-----------------------------------------------------------------------------