2021-07-04 11:19:35 +00:00
|
|
|
CREATE TABLE `files` (
|
|
|
|
`id` int(20) unsigned NOT NULL auto_increment,
|
|
|
|
`hash` char(40) DEFAULT NULL,
|
|
|
|
`originalname` varchar(255) default NULL,
|
|
|
|
`filename` varchar(30) default NULL,
|
|
|
|
`size` int(15) DEFAULT NULL,
|
|
|
|
`date` int(15) DEFAULT NULL,
|
|
|
|
`ip` char(15) DEFAULT NULL,
|
|
|
|
PRIMARY KEY (`id`)
|
2021-08-06 11:39:56 +00:00
|
|
|
);
|
2021-07-04 11:19:35 +00:00
|
|
|
|
|
|
|
CREATE TABLE `accounts` (
|
|
|
|
`id` int(20) unsigned NOT NULL auto_increment,
|
|
|
|
`email` varchar(255) default NULL,
|
|
|
|
`pass` varchar(255) default NULL,
|
|
|
|
`level` int(15) DEFAULT NULL,
|
|
|
|
PRIMARY KEY (`id`)
|
2021-08-06 11:39:56 +00:00
|
|
|
);
|
2021-07-04 11:19:35 +00:00
|
|
|
|
|
|
|
CREATE TABLE `blacklist` (
|
|
|
|
`id` int(20) unsigned NOT NULL auto_increment,
|
|
|
|
`hash` char(40) DEFAULT NULL,
|
|
|
|
`originalname` varchar(255) default NULL,
|
|
|
|
`time` int(15) DEFAULT NULL,
|
|
|
|
PRIMARY KEY (`id`)
|
2021-08-06 11:39:56 +00:00
|
|
|
);
|