mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-10 06:23:13 +09:00
set the value column to varchar(512), not the name column
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4879 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
1 parent
a8517739f1
commit
c326ae36be
1 file changed
+1
-1
@@ -50,7 +50,7 @@ function upgrade_to_0_8_7c() {
|
||||
|
||||
/* increase the width of the settings field, but only if MySQL is >= 5 */
|
||||
if (substr(db_fetch_cell("SELECT @@version"), 0, 1) >= 5) {
|
||||
db_install_execute("0.8.7c", "ALTER TABLE `settings` MODIFY COLUMN `name` VARCHAR(512) NOT NULL DEFAULT ''");
|
||||
db_install_execute("0.8.7c", "ALTER TABLE `settings` MODIFY COLUMN `value` VARCHAR(512) NOT NULL DEFAULT ''");
|
||||
}
|
||||
|
||||
/* add a default for NOT NULL columns */
|
||||
|
||||
Reference in new issue
Block a user