src/Phinx/Db/Adapter/MysqlAdapter.php 1 location
|
@@ 855-857 (lines=3) @@
|
852 |
|
$limit = null; |
853 |
|
$precision = null; |
854 |
|
$type = $matches[1]; |
855 |
|
if (count($matches) > 2) { |
856 |
|
$limit = $matches[3] ? (int) $matches[3] : null; |
857 |
|
} |
858 |
|
if (count($matches) > 4) { |
859 |
|
$precision = (int) $matches[5]; |
860 |
|
} |
src/Phinx/Db/Adapter/SQLiteAdapter.php 1 location
|
@@ 888-890 (lines=3) @@
|
885 |
|
$limit = null; |
886 |
|
$precision = null; |
887 |
|
$type = $matches[1]; |
888 |
|
if (count($matches) > 2) { |
889 |
|
$limit = $matches[3] ? $matches[3] : null; |
890 |
|
} |
891 |
|
if (count($matches) > 4) { |
892 |
|
$precision = $matches[5]; |
893 |
|
} |