At first glance, it looks like MySQL is complaining that there is no index on
the gameID column -- which would indicate that it is not really a primary key,
at least at the database level.
Can you verify the app_gamemodel table definition?
On Tuesday 07 January 2014 12:53:28 Mayank Bhagya wrote:
> I have been using Django & South with MySQL for quite some time now.
>
> I have a table called 'Game' with primary key 'gameID'.
> I am trying to create another table called 'GameRating' which has a one-one
> relation with the Game table.
>
> Hence I added the following code in 'models.py':
> > *class GameRatingModel(models.Model): *