File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 5555 * is_pkey: bool|null,
5656 * dimension: int
5757 * }
58- *
5958 * @psalm-type ConstraintArray = array<
6059 * array-key,
6160 * array {
7069 * check_expr: string
7170 * }
7271 * >
73- *
7472 * @psalm-type FindConstraintArray = array{
7573 * constraint_name: string,
7674 * column_name: string,
@@ -804,7 +802,7 @@ protected function findColumns(TableSchemaInterface $table): bool
804802 ) {
805803 $ loadColumnSchema ->defaultValue (new Expression ($ defaultValue ));
806804 } elseif ($ loadColumnSchema ->getType () === 'boolean ' ) {
807- $ loadColumnSchema ->defaultValue (( $ defaultValue === 'true ' ) );
805+ $ loadColumnSchema ->defaultValue ($ defaultValue === 'true ' );
808806 } elseif (is_string ($ defaultValue ) && preg_match ("/^B'(.*?)'::/ " , $ defaultValue , $ matches )) {
809807 $ loadColumnSchema ->defaultValue (bindec ($ matches [1 ]));
810808 } elseif (is_string ($ defaultValue ) && preg_match ("/^'(\d+)':: \"bit \"$/ " , $ defaultValue , $ matches )) {
You can’t perform that action at this time.
0 commit comments