From 5d801bdf5729b06a6532fb10063db5f6e28cbae1 Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 25 Jul 2006 07:41:41 +0000 Subject: fix bug 486: field username too small svn merge -r1494:1495 from trunk into branch 1.6 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1496 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/27-database.php | 47 +++++++++++++++++++++++++++++++++++++ install/phpwebgallery_structure.sql | 2 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 install/db/27-database.php diff --git a/install/db/27-database.php b/install/db/27-database.php new file mode 100644 index 000000000..80fe81e16 --- /dev/null +++ b/install/db/27-database.php @@ -0,0 +1,47 @@ + diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql index 248d73221..c71896dfb 100644 --- a/install/phpwebgallery_structure.sql +++ b/install/phpwebgallery_structure.sql @@ -342,7 +342,7 @@ CREATE TABLE `phpwebgallery_user_mail_notification` ( DROP TABLE IF EXISTS `phpwebgallery_users`; CREATE TABLE `phpwebgallery_users` ( `id` smallint(5) NOT NULL auto_increment, - `username` varchar(20) binary NOT NULL default '', + `username` varchar(100) binary NOT NULL default '', `password` varchar(32) default NULL, `mail_address` varchar(255) default NULL, PRIMARY KEY (`id`), -- cgit v1.2.3