Browse Source

Update SQL schema & DB structure plans

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.4-alpha
Pekka Helenius 4 years ago
parent
commit
01814c1950
3 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bookstore/src/main/resources/schema.sql
  2. BIN
      db_plans/bookstore-model.mwb
  3. BIN
      images/db_structure.png

+ 2
- 2
bookstore/src/main/resources/schema.sql View File

@ -17,8 +17,8 @@
-- ----------------------------------------------------- -- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS AUTHOR ( CREATE TABLE IF NOT EXISTS AUTHOR (
id INT NOT NULL AUTO_INCREMENT, id INT NOT NULL AUTO_INCREMENT,
firstname NVARCHAR(100) NOT NULL,
lastname NVARCHAR(100) NOT NULL,
firstname NVARCHAR(100) NULL,
lastname NVARCHAR(100) NULL,
PRIMARY KEY (id) PRIMARY KEY (id)
); );


BIN
db_plans/bookstore-model.mwb View File


BIN
images/db_structure.png View File

Before After
Width: 1295  |  Height: 488  |  Size: 75 KiB Width: 1290  |  Height: 485  |  Size: 72 KiB

Loading…
Cancel
Save