Error in Migrations documentation |
[eluser]Unknown[/eluser]
On this page http://ellislab.com/codeigniter/user-gui...ation.html I am pretty sure that an index needs to be created on blog_id in the up() method : Code: $this->dbforge->add_key('blog_id', TRUE);//add this line If not I get the following error : Quote:Incorrect table definition; there can be only one auto column and it must be defined as a key Anyone can update the doc? |
Welcome Guest, Not a member yet? Register Sign In |