Add one_collection_field / one_allowed_collections columns to relations

This commit is contained in:
rijkvanzanten
2020-10-08 14:05:05 -04:00
parent 5b91bc3577
commit 34323d48fc
2 changed files with 12 additions and 2 deletions

View File

@@ -21,7 +21,6 @@ columns:
one_collection:
type: string
length: 64
nullable: false
references:
table: directus_collections
column: collection
@@ -31,7 +30,11 @@ columns:
one_primary:
type: string
length: 64
nullable: false
one_collection_field:
type: string
length: 64
one_allowed_collections:
type: text
junction_field:
type: string
length: 64

View File

@@ -0,0 +1,7 @@
table: directus_relations
fields:
- collection: directus_relations
field: one_allowed_collections
locked: true
special: csv