Commit 1109b27
committed
feat(mysql): support ZEROFILL column attribute
- Implemented `_parse_types` in `MySQL.Parser` to consume the `ZEROFILL` token and store it in the DataType expression.
- Updated `datatype_sql` in `MySQL.Generator` to output `ZEROFILL` when the attribute is present.
This fixes parsing errors encountered when processing legacy MySQL schemas containing numeric columns with the zerofill property.1 parent 67f499d commit 1109b27
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
705 | 713 | | |
706 | 714 | | |
707 | 715 | | |
| |||
1211 | 1219 | | |
1212 | 1220 | | |
1213 | 1221 | | |
| 1222 | + | |
| 1223 | + | |
1214 | 1224 | | |
1215 | 1225 | | |
1216 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments