Changeset 13849 for trunk/install
- Timestamp:
- Apr 2, 2012, 2:18:17 PM (13 years ago)
- Location:
- trunk/install
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/db/120-database.php
r13843 r13849 29 29 $upgrade_description = 'rotation mode (code, not angle) is stored in the database'; 30 30 31 $query = 'ALTER TABLE '.IMAGES_TABLE.' ADD COLUMN rotation tinyint DEFAULT NULL';31 $query = 'ALTER TABLE '.IMAGES_TABLE.' ADD COLUMN rotation tinyint unsigned DEFAULT NULL'; 32 32 pwg_query($query); 33 33 -
trunk/install/piwigo_structure-mysql.sql
r13467 r13849 186 186 `width` smallint(9) unsigned default NULL, 187 187 `height` smallint(9) unsigned default NULL, 188 188 `coi` char(4) default NULL COMMENT 'center of interest', 189 189 `representative_ext` varchar(4) default NULL, 190 190 `date_metadata_update` date default NULL, … … 199 199 `md5sum` char(32) default NULL, 200 200 `added_by` smallint(5) NOT NULL default '0', 201 `rotation` tinyint unsigned default null, 201 202 PRIMARY KEY (`id`), 202 203 KEY `images_i2` (`date_available`),
Note: See TracChangeset
for help on using the changeset viewer.