[FLOW3-general] doctrine:migrate and where are my tables? And why latin?

Georg Grossberger georg at grossberger.at
Mon Feb 27 12:38:27 CET 2012


>
> flow3 doctrine:migrate
>
> which results in 12 new tables. The only abstract models I got where
> some tables around persons, my tables were missing? Do I have to do
> anything special to get my tables?

The "doctrine:migrate" command, only executes existing migrations. See 
the "Migrations/Mysql" folder in the FLOW3 and Party Packages for examples.

To generate a migration for your models, see the 
"doctrine:migrationgenerate" command.

Also good to know
http://flow3.typo3.org/documentation/guide/partiii/persistence.html#creating-migrations

>
> And by the way: My database charset and collation is utf8-general, why
> are all tables latin?
>

Check if the actual connection is set to utf-8. Migrations - by default 
- do not contain any charset information but use the charset of the 
connection.


More information about the FLOW3-general mailing list