summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql2
-rw-r--r--sql-files/upgrade_svn5311.sql1
2 files changed, 2 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index 927e8248f..e99c66787 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -433,7 +433,7 @@ CREATE TABLE `memo` (
DROP TABLE IF EXISTS `party`;
CREATE TABLE `party` (
- `party_id` int(11) unsigned NOT NULL default '100',
+ `party_id` int(11) unsigned NOT NULL auto_increment,
`name` char(100) NOT NULL default '',
`exp` tinyint(11) unsigned NOT NULL default '0',
`item` tinyint(11) unsigned NOT NULL default '0',
diff --git a/sql-files/upgrade_svn5311.sql b/sql-files/upgrade_svn5311.sql
new file mode 100644
index 000000000..e7b4db9a4
--- /dev/null
+++ b/sql-files/upgrade_svn5311.sql
@@ -0,0 +1 @@
+ALTER TABLE `party` MODIFY `party_id` int(11) unsigned NOT NULL auto_increment;