1
0
Fork 0

Revert "Revert "Begin add diesel""

This reverts commit e4e39fa0a9.
This commit is contained in:
Florian RICHER 2023-01-02 21:22:18 +01:00
parent e4e39fa0a9
commit 135c84109f
16 changed files with 184 additions and 7 deletions

0
migrations/.keep Normal file
View file

View file

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE artists

View 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
)

View file

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE labels

View 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
)

View file

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE musicians

View 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
)

View file

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE releases

View 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
)