This is my first question so I will appreciate patience.
I changed a few attributes to IntegerField from CharField. Listed below is the code:
rating
You need to add "USING (col_name::integer)" to eliminate this error. But in that case you have to use direct query.
migrateEngine.execute('ALTER TABLE test ALTER COLUMN testScore TYPE INTEGER USING testScore::integer')
if you are happy to throw away your data, you can delete the column and create a new one
if you want to keep your data, you need to either
a) give your new column a different name, or
b) create a temporary column to hold the data during the transition
you then need a sequence of migrations