Skip to content

Commit

Permalink
vickylib: fix schema and up migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kek5chen committed Apr 26, 2024
1 parent d0e298b commit 715ed2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions vicky/migrations/2024-04-26-080445_create_tasks/up.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
CREATE TABLE tasks
(
id uuid PRIMARY KEY,
display_name VARCHAR,
status VARCHAR,
flake_ref_uri VARCHAR,
args VARCHAR
id uuid PRIMARY KEY,
display_name VARCHAR,
status VARCHAR,
flake_ref_uri VARCHAR,
flake_ref_args VARCHAR
);

CREATE TABLE locks
Expand Down
2 changes: 1 addition & 1 deletion vicky/src/lib/database/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ diesel::table! {
display_name -> Nullable<Varchar>,
status -> Nullable<Varchar>,
flake_ref_uri -> Nullable<Varchar>,
args -> Nullable<Varchar>,
flake_ref_args -> Nullable<Varchar>,
}
}

Expand Down

0 comments on commit 715ed2e

Please sign in to comment.