working #9
+4
-11
@@ -10,13 +10,6 @@ Stripe_PublicKey=
|
|||||||
Stripe_PublicKey=
|
Stripe_PublicKey=
|
||||||
Stripe_Endpoint_Secret=
|
Stripe_Endpoint_Secret=
|
||||||
|
|
||||||
####################
|
|
||||||
## Authentication ##
|
|
||||||
####################
|
|
||||||
|
|
||||||
# Random secret token for encrypting JWT contents
|
|
||||||
JWT_Secret=
|
|
||||||
|
|
||||||
##############
|
##############
|
||||||
## Database ##
|
## Database ##
|
||||||
##############
|
##############
|
||||||
@@ -28,7 +21,7 @@ MySQL_Pass=oasv34$8gpv023dd
|
|||||||
## Email ##
|
## Email ##
|
||||||
##############
|
##############
|
||||||
|
|
||||||
Email_Server= # Hostname of email server
|
Email_Server=
|
||||||
Email_Port= # SMTP port used
|
Email_Port=
|
||||||
Email_Address= # Email Address to send from
|
Email_Address=
|
||||||
Email_Password= # Password for the email address
|
Email_Password=
|
||||||
@@ -42,3 +42,5 @@ Task:
|
|||||||
|
|
||||||
Jobs/editor w/ Querystring JobID=# is not implimented yet
|
Jobs/editor w/ Querystring JobID=# is not implimented yet
|
||||||
Company -> Edit employees not implimented yet
|
Company -> Edit employees not implimented yet
|
||||||
|
|
||||||
|
Remove Account table from DB
|
||||||
@@ -1,6 +1,25 @@
|
|||||||
CREATE DATABASE IF NOT EXISTS `boredcareers`;
|
CREATE DATABASE IF NOT EXISTS `boredcareers`;
|
||||||
USE `boredcareers`;
|
USE `boredcareers`;
|
||||||
|
|
||||||
|
-- Account Section
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `Account` (
|
||||||
|
`ID` int NOT NULL AUTO_INCREMENT,
|
||||||
|
`UserName` varchar(60) NOT NULL,
|
||||||
|
`Email` varchar(255) NOT NULL,
|
||||||
|
`EmailVerified` boolean DEFAULT 0,
|
||||||
|
`PasswordHash` char(60) DEFAULT NULL,
|
||||||
|
`FailedPasswordLock` boolean DEFAULT 0,
|
||||||
|
`PasswordAttempts` int(11) DEFAULT NULL,
|
||||||
|
`CurrentPasswordAttempts` int(11) DEFAULT NULL,
|
||||||
|
`Role` varchar(45) DEFAULT NULL,
|
||||||
|
`EmailToken` varchar(45) DEFAULT NULL,
|
||||||
|
`DataServer` varchar(200) DEFAULT NULL,
|
||||||
|
UNIQUE(`Email`),
|
||||||
|
UNIQUE(`UserName`),
|
||||||
|
PRIMARY KEY (`ID`)
|
||||||
|
) AUTO_INCREMENT=1;
|
||||||
|
|
||||||
-- Resume Section
|
-- Resume Section
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `Resume` (
|
CREATE TABLE IF NOT EXISTS `Resume` (
|
||||||
|
|||||||
Reference in New Issue
Block a user