table! {
    block_properties (block_id, name) {
        block_id -> Binary,
        name -> Text,
        data -> Binary,
    }
}

table! {
    blocks (id) {
        id -> Binary,
        rank -> Text,
        #[sql_name = "type"]
        type_ -> Text,
    }
}

joinable!(block_properties -> blocks (block_id));

allow_tables_to_appear_in_same_query!(
    block_properties,
    blocks,
);
