Controller framework working

This commit is contained in:
plane000
2018-08-19 19:30:47 +01:00
parent 8c73a65b29
commit c11aab31a0
6 changed files with 34 additions and 9 deletions

17
scripts/users.sql Normal file
View File

@@ -0,0 +1,17 @@
CREATE TABLE `notes`.`Users` (
`id` bigint(20) NOT NULL,
`username` text,
`password` text,
`email` text,
`phone` text,
`ip` text, `
token` text,
`lastupdated` text,
`verified` tinyint(4) NOT NULL DEFAULT '0',
`authcode` text,
`timeauthed` text NOT NULL,
`admin` tinyint(4) DEFAULT NULL
)
ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `notes`.`Users` ADD PRIMARY KEY (`id`);