src/Phinx/Db/Adapter/MysqlAdapter.php 1 location
|
@@ 851-853 (lines=3) @@
|
| 848 |
|
$limit = null; |
| 849 |
|
$precision = null; |
| 850 |
|
$type = $matches[1]; |
| 851 |
|
if (count($matches) > 2) { |
| 852 |
|
$limit = $matches[3] ? (int)$matches[3] : null; |
| 853 |
|
} |
| 854 |
|
if (count($matches) > 4) { |
| 855 |
|
$precision = (int)$matches[5]; |
| 856 |
|
} |
src/Phinx/Db/Adapter/SQLiteAdapter.php 1 location
|
@@ 877-879 (lines=3) @@
|
| 874 |
|
$limit = null; |
| 875 |
|
$precision = null; |
| 876 |
|
$type = $matches[1]; |
| 877 |
|
if (count($matches) > 2) { |
| 878 |
|
$limit = $matches[3] ? $matches[3] : null; |
| 879 |
|
} |
| 880 |
|
if (count($matches) > 4) { |
| 881 |
|
$precision = $matches[5]; |
| 882 |
|
} |