backie/src/blocking/schema.rs

26 lines
634 B
Rust
Raw Normal View History

// @generated automatically by Diesel CLI.
pub mod sql_types {
#[derive(diesel::sql_types::SqlType)]
#[diesel(postgres_type(name = "fang_task_state"))]
pub struct FangTaskState;
}
2021-06-12 12:59:09 +00:00
diesel::table! {
use diesel::sql_types::*;
use super::sql_types::FangTaskState;
2021-06-12 12:59:09 +00:00
2021-06-05 11:39:19 +00:00
fang_tasks (id) {
2021-06-06 08:44:46 +00:00
id -> Uuid,
metadata -> Jsonb,
2021-06-12 12:59:09 +00:00
error_message -> Nullable<Text>,
state -> FangTaskState,
task_type -> Varchar,
uniq_hash -> Nullable<Bpchar>,
retries -> Int4,
scheduled_at -> Timestamptz,
created_at -> Timestamptz,
updated_at -> Timestamptz,
}
}