129 lines
3.8 KiB
Rust
129 lines
3.8 KiB
Rust
|
// @generated automatically by Diesel CLI.
|
||
|
|
||
|
diesel::table! {
|
||
|
itunes_library (id) {
|
||
|
id -> Nullable<Integer>,
|
||
|
artist -> Nullable<Text>,
|
||
|
title -> Nullable<Text>,
|
||
|
album -> Nullable<Text>,
|
||
|
year -> Nullable<Text>,
|
||
|
genre -> Nullable<Text>,
|
||
|
tracknumber -> Nullable<Text>,
|
||
|
location -> Nullable<Text>,
|
||
|
comment -> Nullable<Text>,
|
||
|
duration -> Nullable<Integer>,
|
||
|
bitrate -> Nullable<Integer>,
|
||
|
bpm -> Nullable<Integer>,
|
||
|
rating -> Nullable<Integer>,
|
||
|
grouping -> Nullable<Text>,
|
||
|
album_artist -> Nullable<Text>,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
diesel::table! {
|
||
|
library (id) {
|
||
|
id -> Nullable<Integer>,
|
||
|
artist -> Nullable<Text>,
|
||
|
title -> Nullable<Text>,
|
||
|
album -> Nullable<Text>,
|
||
|
year -> Nullable<Text>,
|
||
|
genre -> Nullable<Text>,
|
||
|
tracknumber -> Nullable<Text>,
|
||
|
location -> Nullable<Integer>,
|
||
|
comment -> Nullable<Text>,
|
||
|
url -> Nullable<Text>,
|
||
|
duration -> Nullable<Float>,
|
||
|
bitrate -> Nullable<Integer>,
|
||
|
samplerate -> Nullable<Integer>,
|
||
|
cuepoint -> Nullable<Integer>,
|
||
|
bpm -> Nullable<Float>,
|
||
|
wavesummaryhex -> Nullable<Binary>,
|
||
|
channels -> Nullable<Integer>,
|
||
|
datetime_added -> Nullable<Binary>,
|
||
|
mixxx_deleted -> Nullable<Integer>,
|
||
|
played -> Nullable<Integer>,
|
||
|
header_parsed -> Nullable<Integer>,
|
||
|
filetype -> Nullable<Text>,
|
||
|
replaygain -> Nullable<Float>,
|
||
|
timesplayed -> Nullable<Integer>,
|
||
|
rating -> Nullable<Integer>,
|
||
|
key -> Nullable<Text>,
|
||
|
beats -> Nullable<Binary>,
|
||
|
beats_version -> Nullable<Text>,
|
||
|
composer -> Nullable<Text>,
|
||
|
bpm_lock -> Nullable<Integer>,
|
||
|
beats_sub_version -> Nullable<Text>,
|
||
|
keys -> Nullable<Binary>,
|
||
|
keys_version -> Nullable<Text>,
|
||
|
keys_sub_version -> Nullable<Text>,
|
||
|
key_id -> Nullable<Integer>,
|
||
|
grouping -> Nullable<Text>,
|
||
|
album_artist -> Nullable<Text>,
|
||
|
coverart_source -> Nullable<Integer>,
|
||
|
coverart_type -> Nullable<Integer>,
|
||
|
coverart_location -> Nullable<Text>,
|
||
|
coverart_hash -> Nullable<Integer>,
|
||
|
replaygain_peak -> Nullable<Float>,
|
||
|
tracktotal -> Nullable<Text>,
|
||
|
color -> Nullable<Integer>,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
diesel::table! {
|
||
|
rhythmbox_library (id) {
|
||
|
id -> Nullable<Integer>,
|
||
|
artist -> Nullable<Text>,
|
||
|
title -> Nullable<Text>,
|
||
|
album -> Nullable<Text>,
|
||
|
year -> Nullable<Text>,
|
||
|
genre -> Nullable<Text>,
|
||
|
tracknumber -> Nullable<Text>,
|
||
|
location -> Nullable<Text>,
|
||
|
comment -> Nullable<Text>,
|
||
|
duration -> Nullable<Integer>,
|
||
|
bitrate -> Nullable<Integer>,
|
||
|
bpm -> Nullable<Float>,
|
||
|
key -> Nullable<Text>,
|
||
|
rating -> Nullable<Integer>,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
diesel::table! {
|
||
|
track_locations (id) {
|
||
|
id -> Nullable<Integer>,
|
||
|
location -> Nullable<Text>,
|
||
|
filename -> Nullable<Text>,
|
||
|
directory -> Nullable<Text>,
|
||
|
filesize -> Nullable<Integer>,
|
||
|
fs_deleted -> Nullable<Integer>,
|
||
|
needs_verification -> Nullable<Integer>,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
diesel::table! {
|
||
|
traktor_library (id) {
|
||
|
id -> Nullable<Integer>,
|
||
|
artist -> Nullable<Text>,
|
||
|
title -> Nullable<Text>,
|
||
|
album -> Nullable<Text>,
|
||
|
year -> Nullable<Text>,
|
||
|
genre -> Nullable<Text>,
|
||
|
tracknumber -> Nullable<Text>,
|
||
|
location -> Nullable<Text>,
|
||
|
comment -> Nullable<Text>,
|
||
|
duration -> Nullable<Integer>,
|
||
|
bitrate -> Nullable<Integer>,
|
||
|
bpm -> Nullable<Float>,
|
||
|
key -> Nullable<Text>,
|
||
|
rating -> Nullable<Integer>,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
diesel::allow_tables_to_appear_in_same_query!(
|
||
|
itunes_library,
|
||
|
library,
|
||
|
rhythmbox_library,
|
||
|
track_locations,
|
||
|
traktor_library,
|
||
|
);
|