From b35718cad265492d13e67c600855a8a45d5c1fbb Mon Sep 17 00:00:00 2001
From: kenpachi2k11 <kenpachi2k11@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Date: Tue, 24 Jul 2012 10:30:54 +0000
Subject: Made field `name` in `char` table unique to prevent 3rd party tools
 from making our data messy. (bugreport:5587)

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16490 54d463be-8e91-2dee-dedb-b68131a5f0ec
---
 sql-files/upgrade_svn16490.sql | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 sql-files/upgrade_svn16490.sql

(limited to 'sql-files/upgrade_svn16490.sql')

diff --git a/sql-files/upgrade_svn16490.sql b/sql-files/upgrade_svn16490.sql
new file mode 100644
index 000000000..f3c7056ab
--- /dev/null
+++ b/sql-files/upgrade_svn16490.sql
@@ -0,0 +1 @@
+ALTER TABLE `char` ADD CONSTRAINT `name_key` UNIQUE (`name`);
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

