nat/database.sql

18 lines
393 B
MySQL
Raw Normal View History

CREATE TABLE `pastebin` (
`id` varchar(30) NOT NULL,
`title` varchar(50) default NULL,
2016-06-19 04:36:10 +00:00
`hash` char(40) default NULL,
`data` longtext,
2016-06-19 04:36:10 +00:00
`delkey` char(40) default NULL,
`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
);