@@ 151-153 (lines=3) @@ | ||
148 | // Default values returned from database sometimes have trailing spaces. |
|
149 | $tableColumn['data_default'] = trim($tableColumn['data_default']); |
|
150 | ||
151 | if ($tableColumn['data_default'] === '' || $tableColumn['data_default'] === 'NULL') { |
|
152 | $tableColumn['data_default'] = null; |
|
153 | } |
|
154 | ||
155 | if (null !== $tableColumn['data_default']) { |
|
156 | // Default values returned from database are enclosed in single quotes. |
|
@@ 155-158 (lines=4) @@ | ||
152 | $tableColumn['data_default'] = null; |
|
153 | } |
|
154 | ||
155 | if (null !== $tableColumn['data_default']) { |
|
156 | // Default values returned from database are enclosed in single quotes. |
|
157 | $tableColumn['data_default'] = trim($tableColumn['data_default'], "'"); |
|
158 | } |
|
159 | ||
160 | $precision = null; |
|
161 | $scale = null; |