diff --git a/database.go b/database.go index ea562b3..0150a41 100644 --- a/database.go +++ b/database.go @@ -282,6 +282,7 @@ func (db *datastore) CreateCollection(cfg *config.Config, alias, title string, u Title: title, OwnerID: userID, PublicOwner: false, + Public: defaultVisibility(cfg) == CollPublic, } c.ID, err = res.LastInsertId()