Line data Source code
1 : // @generated automatically by Diesel CLI.
2 :
3 0 : diesel::table! {
4 1891 : nodes (node_id) {
5 2968 : node_id -> Int8,
6 2964 : scheduling_policy -> Varchar,
7 2964 : listen_http_addr -> Varchar,
8 2964 : listen_http_port -> Int4,
9 2964 : listen_pg_addr -> Varchar,
10 2964 : listen_pg_port -> Int4,
11 1891 : }
12 1891 : }
13 :
14 0 : diesel::table! {
15 16719 : tenant_shards (tenant_id, shard_number, shard_count) {
16 18408 : tenant_id -> Varchar,
17 18366 : shard_number -> Int4,
18 18382 : shard_count -> Int4,
19 16719 : shard_stripe_size -> Int4,
20 31752 : generation -> Int4,
21 20046 : generation_pageserver -> Int8,
22 16719 : placement_policy -> Varchar,
23 16719 : splitting -> Int2,
24 16719 : config -> Text,
25 16719 : }
26 16719 : }
27 :
28 : diesel::allow_tables_to_appear_in_same_query!(nodes, tenant_shards,);
|