We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
crate_owner_invitations.expires_at
not null
1 parent 847ca22 commit 480042cCopy full SHA for 480042c
crates/crates_io_database/src/schema.rs
@@ -222,7 +222,7 @@ diesel::table! {
222
/// (Automatically generated by Diesel.)
223
token -> Text,
224
/// Point in time at which the invitation expires/expired.
225
- expires_at -> Nullable<Timestamptz>,
+ expires_at -> Timestamptz,
226
}
227
228
migrations/2025-02-11-122510_not-null-expires-at-column/down.sql
@@ -0,0 +1 @@
1
+alter table crate_owner_invitations alter column expires_at drop not null;
migrations/2025-02-11-122510_not-null-expires-at-column/up.sql
+alter table crate_owner_invitations alter column expires_at set not null;
0 commit comments