// @generated automatically by Diesel CLI. diesel::table! { crafting_recipe_items (recipe_id, item_id) { recipe_id -> Integer, item_id -> Integer, amount -> Integer, } } diesel::table! { crafting_recipes (id) { id -> Nullable, product_item_id -> Integer, skill -> Text, level -> Integer, workbench_id -> Integer, xp -> Integer, unlocked_by_default -> Integer, checks -> Nullable, } } diesel::table! { fast_travel_locations (id) { id -> Nullable, name -> Text, map_name -> Text, data -> Text, } } diesel::table! { harvestables (id) { id -> Nullable, name -> Text, data -> Text, } } diesel::table! { item_stats (item_id, stat_type) { item_id -> Integer, stat_type -> Text, value -> Float, } } diesel::table! { items (id) { id -> Nullable, name -> Text, data -> Text, item_type -> Text, level -> Integer, price -> Integer, max_stack -> Integer, storage_size -> Integer, skill -> Text, tool -> Text, description -> Text, two_handed -> Integer, undroppable -> Integer, undroppable_on_death -> Integer, unequip_destroy -> Integer, generate_icon -> Integer, hide_milestone -> Integer, cannot_craft_exceptional -> Integer, storage_all_items -> Integer, ability_id -> Integer, special_ability -> Integer, learn_ability_id -> Integer, book_id -> Integer, swap_item -> Integer, icon_large -> Nullable, icon_medium -> Nullable, icon_small -> Nullable, } } diesel::table! { loot_tables (table_id) { table_id -> Nullable, npc_id -> Nullable, data -> Text, } } diesel::table! { maps (scene_id) { scene_id -> Nullable, name -> Text, data -> Text, } } diesel::table! { minimap_tiles (id) { id -> Nullable, x -> Integer, y -> Integer, zoom -> Integer, width -> Integer, height -> Integer, original_file_size -> Nullable, image -> Binary, image_size -> Integer, processed_at -> Timestamp, source_path -> Text, } } diesel::table! { npcs (id) { id -> Nullable, name -> Text, data -> Text, } } diesel::table! { player_houses (id) { id -> Nullable, name -> Text, map_id -> Integer, data -> Text, } } diesel::table! { quests (id) { id -> Nullable, name -> Text, data -> Text, } } diesel::table! { resource_icons (item_id) { item_id -> Integer, name -> Text, icon_64 -> Binary, } } diesel::table! { shops (id) { id -> Nullable, name -> Text, unique_items -> Integer, item_count -> Integer, data -> Text, } } diesel::table! { traits (id) { id -> Nullable, name -> Text, description -> Nullable, trainer_id -> Nullable, data -> Text, } } diesel::table! { world_resources (item_id, pos_x, pos_y) { item_id -> Integer, pos_x -> Float, pos_y -> Float, } } diesel::joinable!(crafting_recipe_items -> crafting_recipes (recipe_id)); diesel::joinable!(crafting_recipe_items -> items (item_id)); diesel::joinable!(crafting_recipes -> items (product_item_id)); diesel::joinable!(item_stats -> items (item_id)); diesel::allow_tables_to_appear_in_same_query!( crafting_recipe_items, crafting_recipes, fast_travel_locations, harvestables, item_stats, items, loot_tables, maps, minimap_tiles, npcs, player_houses, quests, resource_icons, shops, traits, world_resources, );