Page 1 of 1

Primary key?

Posted: Mon Aug 06, 2012 10:55 pm
by hjortsberg
If I have a table in db that has a primary key that is named reg_nr, a new row is not inserted.

If I have an id column that is a primary key, a new row is inserted.

Any idea why?

Re: Primary key?

Posted: Sun Sep 23, 2012 9:39 pm
by grayz
You can name primary key as you want.
Try adding a row in 1st table in phpMyAdmin, if it works the issue is not in the database.
Maybe your table controller is sill using 'id' to construct table class.