h4cc_alice_fixtures:load:files trunkates migration_versions table
the command h4cc_alice_fixtures:load:files --drop should not truncate the doctrine migrations table(default is migration_versions ), if there's any .
There is no truncating. The whole table will be removed and recreated.
Currently, the Schema is dropped by removing all tables from database: https://github.com/h4cc/AliceFixturesBundle/blob/master/ORM/DoctrineORMSchemaTool.php#L45
Maybe this could be changed to use this method in the schema tool: https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Tools/SchemaTool.php#L719
You are right, the default behaviour is drop ans recreate. Sorry for confusing you, in my app I changed the default behaviour to truncate, as being faster. DB update is kept by doctrine migrations.
The main idea is that command shouldn't drop/truncate the doctrine migration table, if there's one.
Looks like a different ORM\DropStrategy to me. Something not yet existing.
Have you seen Alice v2.0 is out? I am thinking about upgrading this bundle to that version.
Now I know. :-)
I guess my idea will introduce a dependency to doctrine migrations bundle ...