mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
Added online field to required articles field
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ const db = conn.getDB("gohcms")
|
||||
db.createCollection('articles', {
|
||||
validator: {
|
||||
$jsonSchema: {
|
||||
required: ['content', 'date', 'id_name', 'page_id'],
|
||||
required: ['content', 'date', 'id_name', 'page_id', 'online'],
|
||||
properties: {
|
||||
_id: {
|
||||
bsonType: 'objectId'
|
||||
|
||||
Reference in New Issue
Block a user