Mineplex/Mineplex.Database/059-accountgemtransactions.sql

16 lines
338 B
MySQL
Raw Normal View History

create or replace table accountgemtransactions
(
id int auto_increment
primary key,
accountId int null,
reason varchar(100) null,
gems int null,
constraint accountGemTransactions_ibfk_1
foreign key (accountId) references accounts (id)
)
charset=latin1;
create or replace index accountId
on accountgemtransactions (accountId);