ewll/db-bundle

DB Bundle

Installs: 1 584

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

2.21.4 2020-09-28 10:33 UTC

README

Migrations

Create class App\Migration\MigrationYmdHis implementing Ewll\DBBundle\Migration\MigrationInterface.
Put your migration up sql code into ::up() method migrationd down sql code into ::down() method and description into ::getDescription().

Commands

  • ewll:db:migrate - List migrations.
    • --all - Migrate all.
    • --up YmdHis - Migrate up specific one.
    • --down YmdHis - Migrate down specific one.
  • ewll:db:entity-cache - Create entity cache. Use it after entity creation\updation.