customer.active=false by default
This commit is contained in:
parent
2580fedfd6
commit
4001b68491
@ -35,7 +35,7 @@
|
|||||||
},
|
},
|
||||||
"active": {
|
"active": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": false,
|
||||||
"required": false
|
"required": false
|
||||||
},
|
},
|
||||||
"clients": {
|
"clients": {
|
||||||
|
|||||||
2
types/generated/contentTypes.d.ts
vendored
2
types/generated/contentTypes.d.ts
vendored
@ -417,7 +417,7 @@ export interface ApiCustomerCustomer extends Struct.CollectionTypeSchema {
|
|||||||
draftAndPublish: true;
|
draftAndPublish: true;
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
active: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>;
|
active: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
||||||
blocks: Schema.Attribute.Relation<'oneToMany', 'api::block.block'>;
|
blocks: Schema.Attribute.Relation<'oneToMany', 'api::block.block'>;
|
||||||
clients: Schema.Attribute.Relation<'manyToMany', 'api::customer.customer'>;
|
clients: Schema.Attribute.Relation<'manyToMany', 'api::customer.customer'>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user