Line data Source code
1 : // @generated automatically by Diesel CLI.
2 :
3 0 : diesel::table! {
4 0 : controllers (address, started_at) {
5 0 : address -> Varchar,
6 0 : started_at -> Timestamptz,
7 0 : }
8 0 : }
9 :
10 0 : diesel::table! {
11 0 : metadata_health (tenant_id, shard_number, shard_count) {
12 0 : tenant_id -> Varchar,
13 0 : shard_number -> Int4,
14 0 : shard_count -> Int4,
15 0 : healthy -> Bool,
16 0 : last_scrubbed_at -> Timestamptz,
17 0 : }
18 0 : }
19 :
20 0 : diesel::table! {
21 0 : nodes (node_id) {
22 0 : node_id -> Int8,
23 0 : scheduling_policy -> Varchar,
24 0 : listen_http_addr -> Varchar,
25 0 : listen_http_port -> Int4,
26 0 : listen_pg_addr -> Varchar,
27 0 : listen_pg_port -> Int4,
28 0 : availability_zone_id -> Varchar,
29 0 : }
30 0 : }
31 :
32 0 : diesel::table! {
33 0 : safekeepers (id) {
34 0 : id -> Int8,
35 0 : region_id -> Text,
36 0 : version -> Int8,
37 0 : host -> Text,
38 0 : port -> Int4,
39 0 : http_port -> Int4,
40 0 : availability_zone_id -> Text,
41 0 : scheduling_policy -> Varchar,
42 0 : }
43 0 : }
44 :
45 0 : diesel::table! {
46 0 : tenant_shards (tenant_id, shard_number, shard_count) {
47 0 : tenant_id -> Varchar,
48 0 : shard_number -> Int4,
49 0 : shard_count -> Int4,
50 0 : shard_stripe_size -> Int4,
51 0 : generation -> Nullable<Int4>,
52 0 : generation_pageserver -> Nullable<Int8>,
53 0 : placement_policy -> Varchar,
54 0 : splitting -> Int2,
55 0 : config -> Text,
56 0 : scheduling_policy -> Varchar,
57 0 : preferred_az_id -> Nullable<Varchar>,
58 0 : }
59 0 : }
60 :
61 : diesel::allow_tables_to_appear_in_same_query!(
62 : controllers,
63 : metadata_health,
64 : nodes,
65 : safekeepers,
66 : tenant_shards,
67 : );
|