LCOV - code coverage report
Current view: top level - storage_controller/src - schema.rs (source / functions) Coverage Total Hit
Test: b9d67f908f91f00e353a27440ba89f642a869959.info Lines: 0.0 % 54 0
Test Date: 2024-11-19 21:44:13 Functions: 0.0 % 232 0

            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 :     tenant_shards (tenant_id, shard_number, shard_count) {
      34            0 :         tenant_id -> Varchar,
      35            0 :         shard_number -> Int4,
      36            0 :         shard_count -> Int4,
      37            0 :         shard_stripe_size -> Int4,
      38            0 :         generation -> Nullable<Int4>,
      39            0 :         generation_pageserver -> Nullable<Int8>,
      40            0 :         placement_policy -> Varchar,
      41            0 :         splitting -> Int2,
      42            0 :         config -> Text,
      43            0 :         scheduling_policy -> Varchar,
      44            0 :         preferred_az_id -> Nullable<Varchar>,
      45            0 :     }
      46            0 : }
      47              : 
      48              : diesel::allow_tables_to_appear_in_same_query!(controllers, metadata_health, nodes, tenant_shards,);
      49              : 
      50            0 : diesel::table! {
      51            0 :     safekeepers {
      52            0 :         id -> Int8,
      53            0 :         region_id -> Text,
      54            0 :         version -> Int8,
      55            0 :         instance_id -> Text,
      56            0 :         host -> Text,
      57            0 :         port -> Int4,
      58            0 :         active -> Bool,
      59            0 :         http_port -> Int4,
      60            0 :         availability_zone_id -> Text,
      61            0 :     }
      62            0 : }
        

Generated by: LCOV version 2.1-beta