You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
properties:
id:
type: integer
list_owner:
$ref: '#/components/schemas/ListOwner'
price:
description: price in EUR
type: number
x-db-type: decimal(10,2)
default: 0
Generated Migration:
publicfunction up()
{
$this->createTable('{{%table}}', [
'id' => $this->primaryKey(),
'list_owner_id' => $this->integer()->null()->defaultValue(null),
'price' => 'decimal(10,2) NOT NULL', // <-- default is not set here
The text was updated successfully, but these errors were encountered:
SOHELAHMED7
added a commit
to SOHELAHMED7/yii2-openapi
that referenced
this issue
Dec 30, 2022
OpenAPI schema
Generated Migration:
The text was updated successfully, but these errors were encountered: