Implemented default admin account

This commit is contained in:
2021-02-11 13:18:18 +11:00
parent 01f17360b9
commit 7759a1cd40
7 changed files with 36 additions and 34 deletions
-10
View File
@@ -1,10 +0,0 @@
#This file only needs to be run once, during initial setup
#After this script, next run 'update_database.sql'
#Create the actual database
CREATE DATABASE IF NOT EXISTS template;
USE template;
#Create the database user
CREATE USER IF NOT EXISTS 'template'@'%' IDENTIFIED BY 'pikachu';
GRANT ALL PRIVILEGES ON template.* TO 'template'@'%';
+3
View File
@@ -1,3 +1,6 @@
# Do not use this file - this is just a guide for my own use
# account system
CREATE TABLE IF NOT EXISTS pendingSignups (
email VARCHAR(320) UNIQUE,