Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix cebe#115
  • Loading branch information
SOHELAHMED7 committed Dec 30, 2022
commit 8c074a97395887987b2603e710cb475aeccc564f
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function up()
7 => 'col_9 varchar(9) NULL DEFAULT NULL',
8 => 'col_10 varchar(10) NULL DEFAULT NULL',
9 => 'col_11 text NULL DEFAULT NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function up()
7 => 'col_9 varchar(9) NULL DEFAULT NULL',
8 => 'col_10 varchar(10) NULL DEFAULT NULL',
9 => 'col_11 text NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function safeUp()
7 => 'col_9 varchar NULL DEFAULT NULL',
8 => 'col_10 varchar NULL DEFAULT NULL',
9 => 'col_11 text NULL DEFAULT NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function up()
7 => 'col_9 varchar(9) NULL DEFAULT NULL',
8 => 'col_10 varchar(10) NULL DEFAULT NULL',
9 => 'col_11 text NULL DEFAULT NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function up()
7 => 'col_9 varchar(9) NULL DEFAULT NULL',
8 => 'col_10 varchar(10) NULL DEFAULT NULL',
9 => 'col_11 text NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
5 changes: 5 additions & 0 deletions tests/specs/x_db_type/fresh/mysql/x_db_type_mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ components:
col_11:
type: string
x-db-type: TEXT
price:
description: price in EUR
type: number
x-db-type: decimal(10,2)
default: 0


Alldbdatatype: # All DB data type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function safeUp()
7 => 'col_9 varchar NULL DEFAULT NULL',
8 => 'col_10 varchar NULL DEFAULT NULL',
9 => 'col_11 text NULL DEFAULT NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
5 changes: 5 additions & 0 deletions tests/specs/x_db_type/fresh/pgsql/x_db_type_pgsql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ components:
col_11:
type: string
x-db-type: TEXT
price:
description: price in EUR
type: number
x-db-type: decimal(10,2)
default: 0


Alldbdatatype: # All DB data type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function up()
7 => 'col_9 varchar(9) NULL DEFAULT NULL',
8 => 'col_10 varchar(10) NULL DEFAULT NULL',
9 => 'col_11 text NULL DEFAULT NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function up()
7 => 'col_9 varchar(9) NULL DEFAULT NULL',
8 => 'col_10 varchar(10) NULL DEFAULT NULL',
9 => 'col_11 text NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function safeUp()
7 => 'col_9 varchar NULL DEFAULT NULL',
8 => 'col_10 varchar NULL DEFAULT NULL',
9 => 'col_11 text NULL DEFAULT NULL',
10 => 'price decimal(10,2) NULL DEFAULT 0',
]);
}

Expand Down