Changeset 5341 for trunk/install


Ignore:
Timestamp:
Mar 25, 2010, 11:27:17 AM (14 years ago)
Author:
patdenice
Message:

Feature 1535: Add languages table.
Ready for theme manager!

Location:
trunk/install
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/db/85-database.php

    r5196 r5341  
    3737)";
    3838
     39if (DB_CHARSET == 'utf8')
     40{
     41  $query .= " DEFAULT CHARACTER SET utf8";
     42}
     43
    3944pwg_query($query);
    4045
  • trunk/install/piwigo_structure-mysql.sql

    r5153 r5341  
    205205
    206206--
     207-- Table structure for table `piwigo_languages`
     208--
     209
     210DROP TABLE IF EXISTS `piwigo_languages`;
     211CREATE TABLE `piwigo_languages` (
     212  `id` varchar(64) NOT NULL default '',
     213  `version` varchar(64) NOT NULL default '0',
     214  `name` varchar(64) default NULL,
     215  PRIMARY KEY  (`id`)
     216) TYPE=MyISAM;
     217
     218--
    207219-- Table structure for table `piwigo_old_permalinks`
    208220--
Note: See TracChangeset for help on using the changeset viewer.