From e6c66c2d8a5cea4e1ffac3e297830883eea984ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Mon, 6 Oct 2008 23:27:17 +0000 Subject: [PATCH] remove 2GB quota limitation Closes: #1129 --- .gitattributes | 1 + install/mysql.sql | 2 +- install/upgrades/0.9.9.sql | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 install/upgrades/0.9.9.sql diff --git a/.gitattributes b/.gitattributes index 13da87b1..7d353035 100644 --- a/.gitattributes +++ b/.gitattributes @@ -323,6 +323,7 @@ install/upgrades/0.9.5.sh -text install/upgrades/0.9.5.sql -text install/upgrades/0.9.6.sql -text install/upgrades/0.9.7.sql -text +install/upgrades/0.9.9.sql -text install/upgrades/README -text man/alternc-admintools.8 -text man/alternc-admintools.fr.8 -text diff --git a/install/mysql.sql b/install/mysql.sql index 066df451..bcc00081 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -239,7 +239,7 @@ CREATE TABLE IF NOT EXISTS membres ( CREATE TABLE IF NOT EXISTS quotas ( uid int(10) unsigned NOT NULL default '0', # Numéro GID du membre concerné name varchar(64) NOT NULL default '', # Nom du quota - total int(11) NOT NULL default '0', # Quota total (maximum autorisé) + total bigint(20) unsigned NOT NULL default '0', # Quota total (maximum autorisé) PRIMARY KEY (uid,name) ) TYPE=MyISAM COMMENT='Quotas des Membres'; diff --git a/install/upgrades/0.9.9.sql b/install/upgrades/0.9.9.sql new file mode 100644 index 00000000..8e8d3913 --- /dev/null +++ b/install/upgrades/0.9.9.sql @@ -0,0 +1 @@ +ALTER TABLE `quotas` CHANGE `total` `total` bigint(20) unsigned NOT NULL default '0';