aboutsummaryrefslogtreecommitdiffstats
path: root/install/db
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/120-database.php2
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