Reserved names

Just wanted to say that:

When using yiic and want to create a model it does not work when the table name is 'schema', could you confirm this?

Regards,

Olaf

What is the error message?

No errormessage, it just says that it there is not table schema in the database.

I think I got it…

I changed my table name from ‘schema’ to ‘Schema’, now it works fine.

By default, yiic model command assumes the class name is the same as the table name (case-sensitive). You can add an optional parameter to specify the table name if they are different.