core
: Make link
not null
This commit is contained in:
parent
c27af2cf53
commit
84f7002338
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ CREATE TABLE meta_links (
|
|||
|
||||
CREATE TABLE meta_link_properties (
|
||||
id UUID DEFAULT gen_random_uuid(),
|
||||
link UUID REFERENCES meta_links (id),
|
||||
link UUID REFERENCES meta_links (id) NOT NULL,
|
||||
rel BPCHAR NOT NULL,
|
||||
value BPCHAR,
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ diesel::table! {
|
|||
diesel::table! {
|
||||
meta_link_properties (id) {
|
||||
id -> Uuid,
|
||||
link -> Nullable<Uuid>,
|
||||
link -> Uuid,
|
||||
rel -> Bpchar,
|
||||
value -> Nullable<Bpchar>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue