Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Migration questions
  • Hi,

    I am wondering why there is a migration table in the database. And is there a way to use the migration table instead of the migrations.php file?
  • I want this because my production server doesn't have write access to git, so I cannot commit migration changes to my repo
  • They are both used, and under normal cicumstances both are in sync.

    It is used when deploying an application, you can deploy a migrations.php config file that contains additional migrations, and run "migrate:current" on the target server, which will use the difference between the config and the table to run the migrations, instead of the migration files that exist.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion