From 1150fb7add4ecd9285ae2fd5b463e78680237f7d Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 25 Jul 2006 07:40:02 +0000 Subject: fix bug 486: field username too small git-svn-id: http://piwigo.org/svn/trunk@1495 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 (limited to 'install') 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 5a3b13014..b9434ff09 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, `auto_login_key` varchar(64) default NULL, -- cgit v1.2.3