From ef2c8b601cb5fedbd355c5b74e203d2df79a685e Mon Sep 17 00:00:00 2001 From: snow flurry Date: Sat, 27 Jul 2024 23:49:18 -0700 Subject: [PATCH] remove schema.rs I can't even find it being used...? --- nzrd/src/schema.rs | 126 --------------------------------------------- 1 file changed, 126 deletions(-) delete mode 100644 nzrd/src/schema.rs diff --git a/nzrd/src/schema.rs b/nzrd/src/schema.rs deleted file mode 100644 index 31eb5da..0000000 --- a/nzrd/src/schema.rs +++ /dev/null @@ -1,126 +0,0 @@ -// @generated automatically by Diesel CLI. - -diesel::table! { - comments (id) { - id -> Int4, - domain_id -> Int4, - name -> Varchar, - #[sql_name = "type"] - type_ -> Varchar, - modified_at -> Int4, - account -> Nullable, - comment -> Varchar, - } -} - -diesel::table! { - cryptokeys (id) { - id -> Int4, - domain_id -> Nullable, - flags -> Int4, - active -> Nullable, - published -> Nullable, - content -> Nullable, - } -} - -diesel::table! { - domainmetadata (id) { - id -> Int4, - domain_id -> Nullable, - kind -> Nullable, - content -> Nullable, - } -} - -diesel::table! { - domains (id) { - id -> Int4, - name -> Varchar, - master -> Nullable, - last_check -> Nullable, - #[sql_name = "type"] - type_ -> Text, - notified_serial -> Nullable, - account -> Nullable, - options -> Nullable, - catalog -> Nullable, - } -} - -diesel::table! { - instances (id) { - id -> Int4, - name -> Varchar, - uuid -> Uuid, - arec_id -> Int8, - ptr_id -> Int8, - lease -> Int8, - } -} - -diesel::table! { - leases (id) { - id -> Int8, - subnet_id -> Int4, - host -> Int4, - } -} - -diesel::table! { - records (id) { - id -> Int8, - domain_id -> Nullable, - name -> Nullable, - #[sql_name = "type"] - type_ -> Nullable, - content -> Nullable, - ttl -> Nullable, - prio -> Nullable, - disabled -> Nullable, - ordername -> Nullable, - auth -> Nullable, - } -} - -diesel::table! { - subnets (id) { - id -> Int4, - ifname -> Varchar, - network -> Cidr, - } -} - -diesel::table! { - supermasters (ip, nameserver) { - ip -> Inet, - nameserver -> Varchar, - account -> Varchar, - } -} - -diesel::table! { - tsigkeys (id) { - id -> Int4, - name -> Nullable, - algorithm -> Nullable, - secret -> Nullable, - } -} - -diesel::joinable!(cryptokeys -> domains (domain_id)); -diesel::joinable!(domainmetadata -> domains (domain_id)); -diesel::joinable!(leases -> subnets (subnet_id)); - -diesel::allow_tables_to_appear_in_same_query!( - comments, - cryptokeys, - domainmetadata, - domains, - instances, - leases, - records, - subnets, - supermasters, - tsigkeys, -);