summaryrefslogtreecommitdiff
path: root/sql-files/upgrade_svn2331.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files/upgrade_svn2331.sql')
-rw-r--r--sql-files/upgrade_svn2331.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql-files/upgrade_svn2331.sql b/sql-files/upgrade_svn2331.sql
new file mode 100644
index 000000000..99b38ad61
--- /dev/null
+++ b/sql-files/upgrade_svn2331.sql
@@ -0,0 +1,3 @@
+ALTER TABLE guild_position
+ADD CONSTRAINT `guild_position_ibfk_1` FOREIGN KEY (`guild_id`)
+REFERENCES `guild` (`guild_id`) ON DELETE CASCADE