Mineplex/Mineplex.Database/030-mail.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

17 lines
375 B
SQL

create or replace table mail
(
id int auto_increment
primary key,
accountId int not null,
sender varchar(64) not null,
message varchar(1024) not null,
archived tinyint not null,
deleted tinyint not null,
timeSent timestamp default current_timestamp() not null on update current_timestamp()
)
charset=latin1;
create or replace index accountId
on mail (accountId);