Mineplex/Mineplex.Database/057-accountpurchases.sql
Daniel Waggner fc179e824b Database go brrrrrrr
No idea why, but the database deleted all of the information...  These files are also logged in the Discord Changelog channel and are uploaded to mediafire... Nevertheless, here they are anyhow (plus a bunch of empty tables that I'm too lazy to take out of this commit)
2021-05-28 22:22:21 -07:00

21 lines
470 B
SQL

create or replace table accountpurchases
(
id int auto_increment
primary key,
accountId int not null,
salesPackageName varchar(30) null,
salesPackageId int null,
cost int null,
usingCredits int(1) null,
source varchar(30) null,
premium int(1) null,
coinPurchase int(1) null,
known int(1) not null,
constraint accountpurchases_ibfk_1
foreign key (accountId) references accounts (id)
);
create or replace index accountId
on accountpurchases (accountId);