summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-27 17:34:36 -0300
committershennetsind <ind@henn.et>2013-04-27 17:34:36 -0300
commit219a4f5267b33349649f952266532a132a48c2a3 (patch)
tree5d6cab2818fca3b1d0ff39dc841225033e084567 /sql-files
parent72344313ac9e5f997af119ec7c9ac99ecb424c3a (diff)
downloadhercules-219a4f5267b33349649f952266532a132a48c2a3.tar.gz
hercules-219a4f5267b33349649f952266532a132a48c2a3.tar.bz2
hercules-219a4f5267b33349649f952266532a132a48c2a3.tar.xz
hercules-219a4f5267b33349649f952266532a132a48c2a3.zip
Fixed missing default in upgrade file
All credits to kyeme! thank you! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/upgrades/2013-04-16--02-15.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-files/upgrades/2013-04-16--02-15.sql b/sql-files/upgrades/2013-04-16--02-15.sql
index 8d051421f..771bd6ec2 100644
--- a/sql-files/upgrades/2013-04-16--02-15.sql
+++ b/sql-files/upgrades/2013-04-16--02-15.sql
@@ -1,4 +1,4 @@
#1366078541
-ALTER TABLE `char` ADD `char_opt` INT( 11 ) UNSIGNED NOT NULL;
+ALTER TABLE `char` ADD `char_opt` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0';
INSERT INTO `sql_updates` (`timestamp`) VALUES (1366075474);#for the previous that missed it..
INSERT INTO `sql_updates` (`timestamp`) VALUES (1366078541); \ No newline at end of file