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
This commit is contained in:
nikrou
2010-03-19 19:39:15 +00:00
parent 6b296b293d
commit 4c461f36b1
6 changed files with 51 additions and 6 deletions
+13
View File
@@ -340,6 +340,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
-----------------------------------------------------------------------------