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,
    bot_id -> BigInt,
    volume -> Integer,
  }
}

diesel::table! {
  users (email) {
    email -> Text,
    hash -> Text,
    role -> Text,
    first_name -> Text,
    last_name -> Text,
    updated_at -> Timestamp,
    created_at -> Timestamp,
    profile_picture -> Nullable<Text>,
    verified -> Bool,
  }
}