I'm running FuelPHP 1.7.0. The scaffolding which generated the users table was able to generate a migration just fine but I can't generate one by hand, no matter what name I give it. Any ideas?
I figured it would use a basic skeleton; Something like an Update_Users class and empty up/down functions--I can't recall if other frameworks have a similar design, somehow I expected it. I ended up migrating down, editing the existing migration file, then migrating up.
...however,
I tried doing that again with a different change: renaming a column from "group" (which MySQL is too advanced to not understand the context of its own syntax to realize it is a columns name) to "group_id." I made the change, migrated down, but when I tried to migrate up it said I was already at the latest migration, which isn't the case:
$ php oil refine migrate:up
You are already on the latest migration version for app:default.
$ php oil refine migrate:down
There are no migrations installed to revert for app:default.
$ php oil refine migrate:up
You are already on the latest migration version for app:default.
I seem to be stuck in limbo and can't figure out how to escape.
You're in the correct environment (like that you're using 'development')?
Can you check the contents of your app/config/development/migrations.php contents, and compare it with the contents of the migrations table? Any discrepancies?
Ah, just found the problem; There was a migration ran by another developer's build that was applied to the database, but that migration wasn't in my build at the time. Once I had the actual migration file it worked.