mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
+Bilder- u. Download-Manager
This commit is contained in:
@@ -532,7 +532,7 @@ func filesTable() *core.Collection {
|
||||
|
||||
func filesTableFields() core.FieldsList {
|
||||
fields := core.NewFieldsList(
|
||||
&core.TextField{Name: dbmodels.KEY_FIELD, Required: true, Presentable: true},
|
||||
&core.TextField{Name: dbmodels.TITLE_FIELD, Required: true, Presentable: true},
|
||||
&core.TextField{Name: dbmodels.DESCRIPTION_FIELD, Required: false},
|
||||
&core.FileField{
|
||||
Name: dbmodels.FILE_FIELD,
|
||||
@@ -547,7 +547,7 @@ func filesTableFields() core.FieldsList {
|
||||
}
|
||||
|
||||
func filesTableIndexes(collection *core.Collection) {
|
||||
dbmodels.AddIndex(collection, dbmodels.KEY_FIELD, false)
|
||||
dbmodels.AddIndex(collection, dbmodels.TITLE_FIELD, false)
|
||||
}
|
||||
|
||||
func htmlTable() *core.Collection {
|
||||
|
||||
Reference in New Issue
Block a user