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);

