sync
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
create_db() {
|
||||
mariadb -u root -p -e "CREATE DATABASE vintagecodingdotnet;"
|
||||
mariadb -u root -p -e "USE vintagecodingdotnet; CREATE TABLE articles (article_id INT PRIMARY KEY AUTO_INCREMENT, article_name VARCHAR(255) NOT NULL);"
|
||||
mariadb -u root -p -e "USE vintagecodingdotnet; INSERT INTO articles (article_name) VALUES ('test'), ('another test'), ('a third test');"
|
||||
}
|
||||
|
||||
create_db
|
||||
Reference in New Issue
Block a user