Merged in dude22072/ffxiv-classic-server-1/dude22072/characterssql-auto_increment-1480820519818 (pull request #30)

AUTO_INCREMENT
This commit is contained in:
Filip Maj 2016-12-05 13:46:18 +00:00
commit 96a29a9f04
2 changed files with 15 additions and 15 deletions

View File

@ -1,16 +1,16 @@
/*
MySQL Data Transfer
Source Host: localhost
Source Database: ffxiv_server
Target Host: localhost
Target Database: ffxiv_server
Date: 12/3/2016 5:39:10 PM
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for characters
-- ----------------------------
/*
MySQL Data Transfer
Source Host: localhost
Source Database: ffxiv_server
Target Host: localhost
Target Database: ffxiv_server
Date: 12/3/2016 5:39:10 PM
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for characters
-- ----------------------------
CREATE TABLE `characters` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`userId` int(11) unsigned NOT NULL,
@ -45,4 +45,4 @@ CREATE TABLE `characters` (
`currentPartyGroupId` bigint(20) unsigned DEFAULT '0',
`currentRetainerGroupId` bigint(20) unsigned DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=162 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;

View File

@ -30,7 +30,7 @@ CREATE TABLE `users` (
`email` varchar(256) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name_UNIQUE` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--