CodeIgniter Forums

Full Version: cant set migration config value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What would be the reason I can't call set_item on the migration version number?

What error message are you seeing when you try to call it (we need more information)? Are you just asking a question?
It doesn't give me an error. It just doesn't set the config value. I checked file permissions and they are wide open on my dev system.

Am allowed to write to the migrations.php config file with $this->config->set_item('migration_version', 23); ...?

Did you check the error logs?
I get no output error in development environment and no input in the code igniter logs, or apache logs. It just does nothing.
Can you perhaps show me an example of you writing a migration file and you test it out in code igniter 3?