A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal
blob: 06cc00c10aa36b1f7985f8c3e38d13b6fc740920 (896 bytes)[doc][blame][raw]
1
table! {2
account (id) {3
id -> Integer,4
username -> Nullable<Text>,5
language -> Text,6
is_playback_history -> Bool,7
}8
}10
table! {11
device (id) {12
id -> Integer,13
token -> Text,14
account_id -> Integer,15
}16
}18
table! {19
station (id) {20
id -> Integer,21
uuid -> Text,22
name -> Text,23
stream_url -> Text,24
votes -> Integer,25
favicon -> Nullable<Text>,26
homepage -> Nullable<Text>,27
tags -> Array<Text>,28
country -> Nullable<Text>,29
languages -> Array<Text>,30
state -> Nullable<Text>,31
}32
}34
table! {35
like (id) {36
id -> Integer,37
account_id -> Integer,38
station_id -> Text,39
}40
}42
joinable!(device -> account (account_id));43
joinable!(like -> account (account_id));45
allow_tables_to_appear_in_same_query!(account, device, like,);