40 lines
758 B
XML
40 lines
758 B
XML
diesel::table! {
|
|
messages (id) {
|
|
id -> Text,
|
|
guild_id -> BigInt,
|
|
channel_id -> BigInt,
|
|
user_id -> BigInt,
|
|
created -> BigInt,
|
|
model -> Text,
|
|
request -> Text,
|
|
response -> Text,
|
|
request_tags -> Array<Text>,
|
|
response_tags -> Array<Text>,
|
|
}
|
|
}
|
|
|
|
diesel::table! {
|
|
spells (id) {
|
|
id -> Integer,
|
|
name -> Text,
|
|
school -> Text,
|
|
level -> Integer,
|
|
ritual -> Bool,
|
|
concentration -> Bool,
|
|
classes -> Array<Text>,
|
|
damage_inflict -> Array<Text>,
|
|
damage_resist -> Array<Text>,
|
|
conditions -> Array<Text>,
|
|
saving_throw -> Array<Text>,
|
|
attack_type -> Nullable<Text>,
|
|
data -> Jsonb
|
|
}
|
|
}
|
|
|
|
diesel::table! {
|
|
guilds (id) {
|
|
id -> BigInt,
|
|
name -> Text,
|
|
volume -> Float,
|
|
}
|
|
} |