parent
e4e39fa0a9
commit
135c84109f
16 changed files with 184 additions and 7 deletions
0
migrations/.keep
Normal file
0
migrations/.keep
Normal file
2
migrations/2023-01-02-184703_create_artists/down.sql
Normal file
2
migrations/2023-01-02-184703_create_artists/down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE artists
|
9
migrations/2023-01-02-184703_create_artists/up.sql
Normal file
9
migrations/2023-01-02-184703_create_artists/up.sql
Normal file
|
@ -0,0 +1,9 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE artists (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
artist_name VARCHAR NOT NULL,
|
||||
artist_url VARCHAR NOT NULL,
|
||||
date INT NOT NULL,
|
||||
author VARCHAR NOT NULL,
|
||||
author_url VARCHAR NOT NULL
|
||||
)
|
2
migrations/2023-01-02-184719_create_labels/down.sql
Normal file
2
migrations/2023-01-02-184719_create_labels/down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE labels
|
9
migrations/2023-01-02-184719_create_labels/up.sql
Normal file
9
migrations/2023-01-02-184719_create_labels/up.sql
Normal file
|
@ -0,0 +1,9 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE labels (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
artist_name VARCHAR NOT NULL,
|
||||
artist_url VARCHAR NOT NULL,
|
||||
date INT NOT NULL,
|
||||
author VARCHAR NOT NULL,
|
||||
author_url VARCHAR NOT NULL
|
||||
)
|
2
migrations/2023-01-02-184728_create_musicians/down.sql
Normal file
2
migrations/2023-01-02-184728_create_musicians/down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE musicians
|
9
migrations/2023-01-02-184728_create_musicians/up.sql
Normal file
9
migrations/2023-01-02-184728_create_musicians/up.sql
Normal file
|
@ -0,0 +1,9 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE musicians (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
artist_name VARCHAR NOT NULL,
|
||||
artist_url VARCHAR NOT NULL,
|
||||
date INT NOT NULL,
|
||||
author VARCHAR NOT NULL,
|
||||
author_url VARCHAR NOT NULL
|
||||
)
|
2
migrations/2023-01-02-184734_create_releases/down.sql
Normal file
2
migrations/2023-01-02-184734_create_releases/down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE releases
|
11
migrations/2023-01-02-184734_create_releases/up.sql
Normal file
11
migrations/2023-01-02-184734_create_releases/up.sql
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE releases (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
artist_name VARCHAR NOT NULL,
|
||||
artist_url VARCHAR NOT NULL,
|
||||
album VARCHAR NOT NULL,
|
||||
album_url VARCHAR NOT NULL,
|
||||
date INT NOT NULL,
|
||||
author VARCHAR NOT NULL,
|
||||
author_url VARCHAR NOT NULL
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue