Open ytetsuro opened 3 years ago
I'm not sure.
But it seems CodeIgniter\Database\Forge::_attributeType()
is based on MySQL data types.
Because MySQLi\Forge
has no _attributeType()
.
@kenjis
Response very thanks. I figured out that it is based on MySQL.
@paulbalandan
Why close? Are you saying that it is wrong to ask this question in an issue? To what extent is CodeIgniter\Database\Forge::_attributeType intended to absorb differences? Why does the following test code unset a type that cannot be used? https://github.com/codeigniter4/CodeIgniter4/blob/develop/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php#L75-L94
If I modify this as follows, does CodeIgniter need it?
CodeIgniter\Database\Forge::_attributeType
.
What does CodeIgniter\Database\Forge::_attributeType change the type based on? (ANSI SQL?).
Why does the following test code unset a type that cannot be used? https://github.com/codeigniter4/CodeIgniter4/blob/develop/tests/_support/Database/Migrations/20160428212500_Create_test_tables.php#L75-L94