mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
Added DB models
This commit is contained in:
@@ -32,6 +32,7 @@ func placesTable() *core.Collection {
|
||||
func placesFields() core.FieldsList {
|
||||
fields := core.NewFieldsList(
|
||||
&core.TextField{Name: dbmodels.PLACES_NAME_FIELD, Required: true, Presentable: true},
|
||||
&core.TextField{Name: dbmodels.PLACES_PSEUDONYMS_FIELD, Required: false, Presentable: true},
|
||||
&core.BoolField{Name: dbmodels.AGENTS_FICTIONAL_FIELD, Required: false},
|
||||
&core.URLField{Name: dbmodels.URI_FIELD, Required: false, OnlyDomains: []string{"geonames.org"}},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user