Add accounts schema

This commit is contained in:
Eliot Whalan 2017-02-02 16:53:51 +10:00
parent 095802f288
commit 8c153440cf
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 8 additions and 0 deletions

View File

@ -5,5 +5,13 @@ CREATE TABLE `pastebin` (
`data` longtext, `data` longtext,
`delkey` char(40) default NULL, `delkey` char(40) default NULL,
`expiry` int, `expiry` int,
`userid` int,
PRIMARY KEY (`id`)
);
CREATE TABLE `accounts` (
`id` varchar(30) NOT NULL,
`email` varchar(255) NOT NULL,
`pass` varchar(255) NOT NULL,
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
); );