2016-06-19 01:48:57 +00:00
|
|
|
CREATE TABLE `pastebin` (
|
|
|
|
`id` varchar(30) NOT NULL,
|
2016-12-18 14:12:24 +00:00
|
|
|
`title` varchar(50) default NULL,
|
2016-06-19 04:36:10 +00:00
|
|
|
`hash` char(40) default NULL,
|
2016-06-19 01:48:57 +00:00
|
|
|
`data` longtext,
|
2016-06-19 04:36:10 +00:00
|
|
|
`delkey` char(40) default NULL,
|
2016-12-18 14:12:24 +00:00
|
|
|
`expiry` int,
|
2017-02-05 04:02:32 +00:00
|
|
|
`userid` varchar(255),
|
2017-02-02 06:53:51 +00:00
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE `accounts` (
|
|
|
|
`email` varchar(255) NOT NULL,
|
2017-02-05 04:02:32 +00:00
|
|
|
`password` varchar(255) NOT NULL,
|
|
|
|
`key` varchar(255) NOT NULL,
|
|
|
|
PRIMARY KEY (`key`)
|
2016-06-19 01:51:32 +00:00
|
|
|
);
|