Mineplex/Mineplex.Database/004-accountinventory.sql

16 lines
289 B
MySQL
Raw Normal View History

create or replace table accountinventory
(
id int auto_increment
primary key,
accountId int not null,
itemId int not null,
count int not null,
constraint accountItemIndex
unique (accountId, itemId)
)
charset=latin1;
create or replace index itemId
on accountinventory (itemId);