Cannot Call Cdbmigration->Createtable Without Columns

Hi

Just reporting on a corner case behavior.

CDbMigration->createTable with a liste of columns that is empty is not possible -> the generated SQL is not valid.

My workaround: create the table with one column, and remove the column if needed.

My goal is to first create the table and then call ‘addColumn’ for each column that needs to be added.

Seems to be valid. Can you report it to https://github.com/yiisoft/yii/issues

Thanks.