I was wondering if anyone knew how to generate a fixture.yml from data that is already existing in the database?
As you can use the build-schema to generate a schema, is there a way to do that for data?
symfony propel:build-schema
In Symfony 1.0 use the command:
$ php symfony propel-dump-data <APPLICATION_NAME> <FIXTURES_DIR_OR_FILE> [<ENVIRONMENT_NAME>]
In versions 1.1 and 1.2 use the following command:
$ php symfony propel:data-dump <APPLICATION_NAME> [<TARGET>] [--env=<ENVIRONMENT_NAME>]