core
: Rename link
to meta_link_id
This commit is contained in:
parent
84f7002338
commit
2ca4bb3662
2 changed files with 3 additions and 3 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) NOT NULL,
|
||||
meta_link_id 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 -> Uuid,
|
||||
meta_link_id -> Uuid,
|
||||
rel -> Bpchar,
|
||||
value -> Nullable<Bpchar>,
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ diesel::table! {
|
|||
}
|
||||
}
|
||||
|
||||
diesel::joinable!(meta_link_properties -> meta_links (link));
|
||||
diesel::joinable!(meta_link_properties -> meta_links (meta_link_id));
|
||||
|
||||
diesel::allow_tables_to_appear_in_same_query!(
|
||||
meta_aliases,
|
||||
|
|
Loading…
Reference in a new issue