CodeIgniter Forums
Codeigniter 3.0rc3 migration library is broken? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: Codeigniter 3.0rc3 migration library is broken? (/showthread.php?tid=1588)



Codeigniter 3.0rc3 migration library is broken? - piece601 - 03-23-2015

Codeigniter 3.0rc3 migration library is broken?


RE: Codeigniter 3.0rc3 migration library is broken? - ciadmin - 03-23-2015

Are you getting an error message that leads you to think it is broken?
Your question as phrased is not answerable... Sad


RE: Codeigniter 3.0rc3 migration library is broken? - piece601 - 03-24-2015

http://www.codeigniter.com/userguide3/libraries/migration.html
I follow this guide to create migration file , but the error message show 『No migration could be found with the version number: 1.』
I have created migrations/001_add_blog.php
I try in the v2.2.1 to create migration is success in this guide, but in v3.0rc3 is failure.


RE: Codeigniter 3.0rc3 migration library is broken? - orionstar - 03-24-2015

The default migration type in CI3 is timestamp. If you would like to use sequantial, than you should change that in the config/migration.php
The error message you get is a little confusing if you get that with the default settings... maybe CI should use two different message.


RE: Codeigniter 3.0rc3 migration library is broken? - sid - 03-28-2015

(03-24-2015, 06:21 AM)piece601 Wrote: http://www.codeigniter.com/userguide3/libraries/migration.html
I follow this guide to create migration file , but the error message show 『No migration could be found with the version number: 1.』
I have created migrations/001_add_blog.php
I try in the v2.2.1 to create migration is success in this guide, but in v3.0rc3 is failure.

Smile $config['migration_type'] = 'sequential'; change it


RE: Codeigniter 3.0rc3 migration library is broken? - sid - 03-28-2015

$config['migration_type'] = 'sequential';