Mineplex/Mineplex.Database/031-mailbox.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
361 B
SQL

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