Skip to content

Commit

Permalink
fix schema
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo committed Dec 25, 2024
1 parent 64150b5 commit c54eb6c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
24 changes: 22 additions & 2 deletions migrations/schema.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- migrations/schema.unpatched.rs 2024-12-25 01:43:39.324295195 +0000
+++ server/src/database/schema.rs 2024-12-25 01:43:35.592373517 +0000
--- migrations/schema.unpatched.rs 2024-12-25 03:01:31.500330121 +0000
+++ server/src/database/schema.rs 2024-12-25 03:01:20.600359108 +0000
@@ -1,38 +1,44 @@
+#![cfg_attr(coverage_nightly, coverage(off))]
// @generated automatically by Diesel CLI.
Expand Down Expand Up @@ -85,6 +85,26 @@
///
/// (Automatically generated by Diesel.)
status -> GithubPrStatus,
@@ -297,16 +303,16 @@
/// Its SQL type is `Nullable<Int4>`.
///
/// (Automatically generated by Diesel.)
default_priority -> Nullable<Int4>,
/// The `added_labels` column of the `github_pr` table.
///
- /// Its SQL type is `Array<Nullable<Text>>`.
+ /// Its SQL type is `Array<Text>`.
///
- /// (Automatically generated by Diesel.)
- added_labels -> Array<Nullable<Text>>,
+ /// (Manually changed from `Array<Nullable<Text>>` to `Array<Text>`)
+ added_labels -> Array<Text>,
}
}

diesel::table! {
/// Representation of the `health_check` table.
///
@@ -326,12 +332,13 @@
updated_at -> Timestamptz,
}
Expand Down
6 changes: 3 additions & 3 deletions migrations/schema.unpatched.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,12 @@ diesel::table! {
///
/// (Automatically generated by Diesel.)
default_priority -> Nullable<Int4>,
/// The `added_label` column of the `github_pr` table.
/// The `added_labels` column of the `github_pr` table.
///
/// Its SQL type is `Nullable<Text>`.
/// Its SQL type is `Array<Nullable<Text>>`.
///
/// (Automatically generated by Diesel.)
added_label -> Nullable<Text>,
added_labels -> Array<Nullable<Text>>,
}
}

Expand Down

0 comments on commit c54eb6c

Please sign in to comment.