Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit ee41f41

Browse files
authoredJun 4, 2024
Resolve multiple issues (#177)
| Fix Issue # | Fork PR # | | ------ | ------ | | #175 | SOHELAHMED7#36 | | #172 | SOHELAHMED7#37 | | #159 | SOHELAHMED7#39 | | #158 | SOHELAHMED7#40 | | #178 | SOHELAHMED7#41 |
2 parents 5f9d381 + cbae5c5 commit ee41f41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1575
-30
lines changed
 

‎.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
23+
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3']
2424

2525
# TODO use cache
2626
steps:

‎README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ Such values are not allowed:
182182
- `int null default null after low_price` (null and default will be handled by `nullable` and `default` keys respectively)
183183
- MEDIUMINT(10) UNSIGNED ZEROFILL NULL DEFAULT '7' COMMENT 'comment' AFTER `seti`, ADD INDEX `t` (`w`)
184184

185+
If `enum` and `x-db-type` both are provided then for database column schema (migrations), only `x-db-type` will be considered ignoring `enum`.
186+
185187
### `x-indexes`
186188

187189
Specify table indexes
@@ -446,6 +448,8 @@ It works on all 3 DB: MySQL, MariaDb and PgSQL.
446448

447449
Note: Changes in enum values are not very simple. For Mysql and Mariadb, migrations will be generated but in many cases custom modification in it are required. For Pgsql migrations for change in enum values will not be generated. It should be handled manually.
448450

451+
It will be ignored for database column schema (migrations) if `x-db-type` is provided.
452+
449453
## Handling of `numeric` (#numeric, #MariaDb)
450454

451455
precision-default = 10

0 commit comments

Comments
 (0)