@@ -55,7 +55,6 @@
|
55 | 55 | * is_pkey: bool|null, |
56 | 56 | * dimension: int |
57 | 57 | * } |
58 | | - * |
59 | 58 | * @psalm-type ConstraintArray = array< |
60 | 59 | * array-key, |
61 | 60 | * array { |
@@ -70,7 +69,6 @@
|
70 | 69 | * check_expr: string |
71 | 70 | * } |
72 | 71 | * > |
73 | | - * |
74 | 72 | * @psalm-type FindConstraintArray = array{ |
75 | 73 | * constraint_name: string, |
76 | 74 | * column_name: string, |
@@ -804,7 +802,7 @@ protected function findColumns(TableSchemaInterface $table): bool
|
804 | 802 | ) { |
805 | 803 | $loadColumnSchema->defaultValue(new Expression($defaultValue)); |
806 | 804 | } elseif ($loadColumnSchema->getType() === 'boolean') { |
807 | | -$loadColumnSchema->defaultValue(($defaultValue === 'true')); |
| 805 | +$loadColumnSchema->defaultValue($defaultValue === 'true'); |
808 | 806 | } elseif (is_string($defaultValue) && preg_match("/^B'(.*?)'::/", $defaultValue, $matches)) { |
809 | 807 | $loadColumnSchema->defaultValue(bindec($matches[1])); |
810 | 808 | } elseif (is_string($defaultValue) && preg_match("/^'(\d+)'::\"bit\"$/", $defaultValue, $matches)) { |
|