nxtnote_savefile_format/schema.rs
1table! {
2 block_properties (block_id, name) {
3 block_id -> Binary,
4 name -> Text,
5 data -> Binary,
6 }
7}
8
9table! {
10 blocks (id) {
11 id -> Binary,
12 rank -> Text,
13 #[sql_name = "type"]
14 type_ -> Text,
15 }
16}
17
18joinable!(block_properties -> blocks (block_id));
19
20allow_tables_to_appear_in_same_query!(
21 block_properties,
22 blocks,
23);