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 |
|
} |
src/Phinx/Db/Adapter/MysqlAdapter.php 1 location
|
@@ 839-841 (lines=3) @@
|
836 |
|
$limit = null; |
837 |
|
$precision = null; |
838 |
|
$type = $matches[1]; |
839 |
|
if (count($matches) > 2) { |
840 |
|
$limit = $matches[3] ? (int) $matches[3] : null; |
841 |
|
} |
842 |
|
if (count($matches) > 4) { |
843 |
|
$precision = (int) $matches[5]; |
844 |
|
} |