Browse Source

Update database SQL

master
Skylar Ittner 11 months ago
parent
commit
f571306c98
2 changed files with 3 additions and 2 deletions
  1. BIN
      database.mwb
  2. 3
    2
      database.sql

BIN
database.mwb View File


+ 3
- 2
database.sql View File

@@ -1,5 +1,5 @@
1 1
 -- MySQL Script generated by MySQL Workbench
2
+-- Wed 30 May 2018 07:09:00 PM MDT
2 3
 -- Model: New Model    Version: 1.0
3 4
 -- MySQL Workbench Forward Engineering
4 5
 
@@ -81,7 +81,7 @@ ENGINE = InnoDB;
81 81
 DROP TABLE IF EXISTS `qwikclock`.`report_access_codes` ;
82 82
 
83 83
 CREATE TABLE IF NOT EXISTS `qwikclock`.`report_access_codes` (
84
-  `id` INT NOT NULL,
84
+  `id` INT NOT NULL AUTO_INCREMENT,
85 85
   `code` VARCHAR(45) NULL,
86 86
   `expires` DATETIME NULL,
87 87
   `uid` INT NOT NULL DEFAULT -1,
@@ -112,7 +112,7 @@ DROP TABLE IF EXISTS `qwikclock`.`job_groups` ;
112 112
 
113 113
 CREATE TABLE IF NOT EXISTS `qwikclock`.`job_groups` (
114 114
   `id` INT NOT NULL AUTO_INCREMENT,
115
-  `groupid` VARCHAR(45) NOT NULL,
115
+  `groupid` INT NOT NULL,
116 116
   `jobid` INT NOT NULL,
117 117
   PRIMARY KEY (`id`, `groupid`, `jobid`),
118 118
   UNIQUE INDEX `id_UNIQUE` (`id` ASC),

Loading…
Cancel
Save