Database interaction and basic controller layout

This commit is contained in:
plane000
2018-08-19 17:39:55 +01:00
parent e975b34546
commit 8c73a65b29
13 changed files with 4420 additions and 13 deletions

View File

@@ -1 +1,4 @@
# Install and create database script here, bash
# Users table structure 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`);