File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ protected function buildUnsignedString(): string
3636 public function asString (): string
3737 {
3838 $ format = match ($ this ->getTypeCategory ()) {
39- self ::CATEGORY_PK => '{type}{check}{append} ' ,
40- self ::CATEGORY_NUMERIC => '{type}{length}{unsigned}{notnull}{unique}{check}{default}{append} ' ,
41- self ::CATEGORY_UUID => '{type}{notnull}{unique}{default}{check}{comment}{append} ' ,
42- self ::CATEGORY_UUID_PK => '{type}{notnull}{default}{check}{comment}{append} ' ,
39+ self ::TYPE_CATEGORY_PK => '{type}{check}{append} ' ,
40+ self ::TYPE_CATEGORY_NUMERIC => '{type}{length}{unsigned}{notnull}{unique}{check}{default}{append} ' ,
41+ self ::TYPE_CATEGORY_UUID => '{type}{notnull}{unique}{default}{check}{comment}{append} ' ,
42+ self ::TYPE_CATEGORY_UUID_PK => '{type}{notnull}{default}{check}{comment}{append} ' ,
4343 default => '{type}{length}{notnull}{unique}{check}{default}{append} ' ,
4444 };
4545
You can’t perform that action at this time.
0 commit comments