1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-30 08:07:46 +00:00

fix db schema so characters get created correctly

This commit is contained in:
NotAdam 2018-12-07 20:12:20 +11:00
parent 7d712aa42e
commit f0055d2f63

View file

@ -212,7 +212,7 @@ CREATE TABLE `charaitemgearset` (
`CharacterId` int(20) NOT NULL, `CharacterId` int(20) NOT NULL,
`storageId` int(10) NOT NULL, `storageId` int(10) NOT NULL,
`type` int(5) DEFAULT '0', `type` int(5) DEFAULT '0',
`idx` int(5) NOT NULL, `idx` int(5) DEFAULT '0',
`container_0` int(20) DEFAULT '0', `container_0` int(20) DEFAULT '0',
`container_1` int(20) DEFAULT '0', `container_1` int(20) DEFAULT '0',
`container_2` int(20) DEFAULT '0', `container_2` int(20) DEFAULT '0',
@ -235,7 +235,7 @@ CREATE TABLE `charaiteminventory` (
`CharacterId` int(20) NOT NULL, `CharacterId` int(20) NOT NULL,
`storageId` int(10) NOT NULL, `storageId` int(10) NOT NULL,
`type` int(5) DEFAULT '0', `type` int(5) DEFAULT '0',
`idx` int(5) NOT NULL, `idx` int(5) DEFAULT '0',
`container_0` int(20) DEFAULT '0', `container_0` int(20) DEFAULT '0',
`container_1` int(20) DEFAULT '0', `container_1` int(20) DEFAULT '0',
`container_2` int(20) DEFAULT '0', `container_2` int(20) DEFAULT '0',