customer: add field surname
This commit is contained in:
parent
e0a9f55eeb
commit
a63eff9f46
@ -17,6 +17,11 @@
|
||||
"maxLength": 100,
|
||||
"required": true
|
||||
},
|
||||
"surname": {
|
||||
"type": "string",
|
||||
"maxLength": 100,
|
||||
"required": false
|
||||
},
|
||||
"telegramId": {
|
||||
"type": "biginteger",
|
||||
"unique": true
|
||||
|
||||
4
types/generated/contentTypes.d.ts
vendored
4
types/generated/contentTypes.d.ts
vendored
@ -431,6 +431,10 @@ export interface ApiCustomerCustomer extends Struct.CollectionTypeSchema {
|
||||
'oneToMany',
|
||||
'api::subscription.subscription'
|
||||
>;
|
||||
surname: Schema.Attribute.String &
|
||||
Schema.Attribute.SetMinMaxLength<{
|
||||
maxLength: 100;
|
||||
}>;
|
||||
telegramId: Schema.Attribute.BigInteger & Schema.Attribute.Unique;
|
||||
updatedAt: Schema.Attribute.DateTime;
|
||||
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user