summaryrefslogtreecommitdiff
path: root/sql-files/upgrade_svn12581.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files/upgrade_svn12581.sql')
-rw-r--r--sql-files/upgrade_svn12581.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql-files/upgrade_svn12581.sql b/sql-files/upgrade_svn12581.sql
new file mode 100644
index 000000000..ce2ffd989
--- /dev/null
+++ b/sql-files/upgrade_svn12581.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `quest_objective` ADD COLUMN `char_id` INTEGER UNSIGNED NOT NULL AFTER `num`,
+ DROP PRIMARY KEY,
+ ADD PRIMARY KEY USING BTREE(`quest_id`, `num`, `char_id`); \ No newline at end of file