cycle / database

Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
MIT License
54 stars 22 forks source link

🐛 MySQL `SET` column is seen as of `unknown` type #87

Closed AnrDaemon closed 1 year ago

AnrDaemon commented 1 year ago

No duplicates 🥲.

Database

MySQL

What happened?

When introspecting an existing database, one of the columns was marked as of "unknown" type. The column is declared as

`Groups` set('A','B','C',…) DEFAULT NULL COMMENT 'Группы',

$column->getEnumValues() returns an empty array.

Version

database 2.2.2
PHP 8.0
MariaDB 10