Skip to content

Instantly share code, notes, and snippets.

@ibeucaly
ibeucaly / db1.sql
Created March 15, 2020 21:01
creates multiple databases on MySQL Docker by using an script
-- This file is placed at ./initdb/sql/db1.sql
-- SQL for initializing db1
CREATE TABLE table1 (id int NOT NULL PRIMARY KEY, name varchar(50) NOT NULL);
@ibeucaly
ibeucaly / db1.sql
Created March 15, 2020 21:01
creates multiple databases on MySQL Docker by using an script
-- This file is placed at ./initdb/sql/db1.sql
-- SQL for initializing db1
CREATE TABLE table1 (id int NOT NULL PRIMARY KEY, name varchar(50) NOT NULL);