Some checks failed
actionlint check / actionlint check (pull_request) Successful in 5s
checkov check / checkov check (pull_request) Successful in 52s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 4s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 2s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 5s
GitLeaks check / GitLeaks check (pull_request) Successful in 6s
hadolint check / hadolint check (pull_request) Successful in 7s
htmlhint check / htmlhint check (pull_request) Successful in 9s
markdownlint check / markdownlint check (pull_request) Successful in 9s
Prettier check / Prettier check (pull_request) Successful in 10s
Rust check / Rust check (pull_request) Failing after 6m20s
ShellCheck check / ShellCheck check (pull_request) Successful in 12s
Stylelint check / Stylelint check (pull_request) Successful in 11s
yamllint check / yamllint check (pull_request) Successful in 13s
39 lines
837 B
Rust
39 lines
837 B
Rust
// @generated automatically by Diesel CLI.
|
|
|
|
diesel::table! {
|
|
projects (id) {
|
|
id -> Int4,
|
|
title -> Text,
|
|
created_at -> Timestamp,
|
|
updated_at -> Timestamp,
|
|
}
|
|
}
|
|
|
|
diesel::table! {
|
|
subtasks (id) {
|
|
id -> Int4,
|
|
task_id -> Int4,
|
|
title -> Text,
|
|
is_completed -> Bool,
|
|
created_at -> Timestamp,
|
|
updated_at -> Timestamp,
|
|
}
|
|
}
|
|
|
|
diesel::table! {
|
|
tasks (id) {
|
|
id -> Int4,
|
|
title -> Text,
|
|
deadline -> Nullable<Date>,
|
|
category -> Jsonb,
|
|
project_id -> Nullable<Int4>,
|
|
created_at -> Timestamp,
|
|
updated_at -> Timestamp,
|
|
}
|
|
}
|
|
|
|
diesel::joinable!(subtasks -> tasks (task_id));
|
|
diesel::joinable!(tasks -> projects (project_id));
|
|
|
|
diesel::allow_tables_to_appear_in_same_query!(projects, subtasks, tasks,);
|