customer.active=false by default
This commit is contained in:
parent
2580fedfd6
commit
4001b68491
@ -35,7 +35,7 @@
|
||||
},
|
||||
"active": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"default": false,
|
||||
"required": false
|
||||
},
|
||||
"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;
|
||||
};
|
||||
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'>;
|
||||
clients: Schema.Attribute.Relation<'manyToMany', 'api::customer.customer'>;
|
||||
createdAt: Schema.Attribute.DateTime;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user