diff options
author | plegall <plg@piwigo.org> | 2012-04-02 12:18:17 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-04-02 12:18:17 +0000 |
commit | b6362427746dc54980c10edf2e03850a33982535 (patch) | |
tree | ffa25b38dd0172e5680297848c0e80b8c5c575dd /install/db | |
parent | f318fe042e322f86ca2054aff614ef16daf7a20a (diff) |
feature 2604: add images.rotation at database creation (not only during upgrade)
git-svn-id: http://piwigo.org/svn/trunk@13849 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/db')
-rw-r--r-- | install/db/120-database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/db/120-database.php b/install/db/120-database.php index ec156e0df..54af02c01 100644 --- a/install/db/120-database.php +++ b/install/db/120-database.php @@ -28,7 +28,7 @@ if (!defined('PHPWG_ROOT_PATH')) $upgrade_description = 'rotation mode (code, not angle) is stored in the database'; -$query = 'ALTER TABLE '.IMAGES_TABLE.' ADD COLUMN rotation tinyint DEFAULT NULL'; +$query = 'ALTER TABLE '.IMAGES_TABLE.' ADD COLUMN rotation tinyint unsigned DEFAULT NULL'; pwg_query($query); echo |