From b6362427746dc54980c10edf2e03850a33982535 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 2 Apr 2012 12:18:17 +0000 Subject: 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 --- install/db/120-database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/db') 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 -- cgit v1.2.3