1
Fork 0

core: Make link not null

This commit is contained in:
Steffo 2024-11-15 02:12:26 +01:00
parent c27af2cf53
commit 84f7002338
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ CREATE TABLE meta_links (
CREATE TABLE meta_link_properties ( CREATE TABLE meta_link_properties (
id UUID DEFAULT gen_random_uuid(), id UUID DEFAULT gen_random_uuid(),
link UUID REFERENCES meta_links (id), link UUID REFERENCES meta_links (id) NOT NULL,
rel BPCHAR NOT NULL, rel BPCHAR NOT NULL,
value BPCHAR, value BPCHAR,

View file

@ -11,7 +11,7 @@ diesel::table! {
diesel::table! { diesel::table! {
meta_link_properties (id) { meta_link_properties (id) {
id -> Uuid, id -> Uuid,
link -> Nullable<Uuid>, link -> Uuid,
rel -> Bpchar, rel -> Bpchar,
value -> Nullable<Bpchar>, value -> Nullable<Bpchar>,
} }