Start MSQL Schema and config the YML for docker

the 'special' words are in properties file.
This commit is contained in:
bryce
2024-11-05 21:40:18 +13:00
parent 8a5488f331
commit e31b5c4a63
3 changed files with 13 additions and 29 deletions

View File

@@ -3,13 +3,13 @@ CREATE DATABASE bricklog_db
GO
-- Grant Permissions & Flush
GRANT ALL PERMISSIONS TO bl_server IDENTIFIED BY l3g0D3t41l$h3r3
GRANT ALL PERMISSIONS TO bl_server
GO
-- Create a new table called 'collection_table' in schema 'bricklog_db'
-- Create the table in the specified schema
CREATE TABLE lego_builds (
id INT NOT NULL PRIMARY KEY, -- Lego Build ID can be used here (hence not Auto_increment)
legoId INT NOT NULL PRIMARY KEY, -- Lego Build ID can be used here (hence not Auto_increment)
builder VARCHAR(255) NOT NULL,
buildName VARCHAR(255) NOT NULL,
is_kitset BOOLEAN NOT NULL,