Can you try
Migrate = true
Fake_migrate = true

On Sep 13, 2012 6:37 PM, "MichaelF" <[email protected]> wrote:

I have a field ('Is_home_team') that was defined as 'boolean', and I
changed it to 'integer'. The migrate failed (I'm using MySQL).

I then invoked the following on the table def that defines Is_home_team:
migrate = False, fake_migrate = True

I also altered the underlying MySQL table to change the field from char(1)
to integer, and modified the data.

I then ran the app again, and everything worked. So I took out the 'migrate
= False, fake_migrate = True', re-ran the app, and got the error again:
<type 'exceptions.KeyError'> 'is_home_team'
I thought that running the fake_migrate would rebuild according to the
definition, etc.

No other tables refer to that field.

Before I do a fake_migrate_all, any thoughts?

--

-- 



Reply via email to