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

54
src/schema.rs Normal file
View file

@ -0,0 +1,54 @@
// @generated automatically by Diesel CLI.
diesel::table! {
artists (id) {
id -> Nullable<Integer>,
artist_name -> Text,
artist_url -> Text,
date -> Integer,
author -> Text,
author_url -> Text,
}
}
diesel::table! {
labels (id) {
id -> Nullable<Integer>,
artist_name -> Text,
artist_url -> Text,
date -> Integer,
author -> Text,
author_url -> Text,
}
}
diesel::table! {
musicians (id) {
id -> Nullable<Integer>,
artist_name -> Text,
artist_url -> Text,
date -> Integer,
author -> Text,
author_url -> Text,
}
}
diesel::table! {
releases (id) {
id -> Nullable<Integer>,
artist_name -> Text,
artist_url -> Text,
album -> Text,
album_url -> Text,
date -> Integer,
author -> Text,
author_url -> Text,
}
}
diesel::allow_tables_to_appear_in_same_query!(
artists,
labels,
musicians,
releases,
);