Work on SettingsWindow and Server
This commit is contained in:
19
BrickLog-Server/sql/schema.sql
Normal file
19
BrickLog-Server/sql/schema.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
-- Create a new database called 'bricklog_db'
|
||||
CREATE DATABASE bricklog_db
|
||||
GO
|
||||
|
||||
-- Grant Permissions & Flush
|
||||
GRANT ALL PERMISSIONS TO bl_server IDENTIFIED BY l3g0D3t41l$h3r3
|
||||
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)
|
||||
builder VARCHAR(255) NOT NULL,
|
||||
buildName VARCHAR(255) NOT NULL,
|
||||
is_kitset BOOLEAN NOT NULL,
|
||||
buildDescription VARCHAR(1000) NOT NULL,
|
||||
record_created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
GO
|
Reference in New Issue
Block a user