Doctrine handle quite correctly database migration. Thanks to `doctrine:schema:update`
+++ /dev/null
-../vendor/robmorgan/phinx/bin/phinx
\ No newline at end of file
+++ /dev/null
-<?php
-
-use Phinx\Migration\AbstractMigration;
-
-class InitDatabase extends AbstractMigration
-{
- /**
- * Migrate Up.
- */
- public function up()
- {
- $this->execute("INSERT INTO config (name, value) VALUES ('foo', 'bar');");
- }
-
- /**
- * Migrate Down.
- */
- public function down()
- {
- $this->execute("DELETE FROM config WHERE name = 'foo' AND value = 'bar';");
- }
-}
\ No newline at end of file
+++ /dev/null
-paths:
- migrations: %%PHINX_CONFIG_DIR%%/migrations
-
-environments:
- default_migration_table: phinxlog
- default_database: development
- production:
- adapter: sqlite
- name: app/db/poche
-
- development:
- adapter: sqlite
- name: app/db/poche
-
- testing:
- adapter: sqlite
- name: app/db/poche