Re: Error when change a CharField to IntegerField

2014-12-30 Thread Neto
before was empty, but I deleted the column and remade, thanks Em terça-feira, 30 de dezembro de 2014 11h52min14s UTC-2, Neto escreveu: > > I changed a CharField to IntegerField and when I did ./manage.py migrate, > appeared the message on terminal: > > django.db.utils.ProgrammingError: column "ro

Re: Error when change a CharField to IntegerField

2014-12-30 Thread Jorge Andrés Vergara Ebratt
Hi, did the column had previus non-integer data in it? 2014-12-30 8:52 GMT-05:00 Neto : > I changed a CharField to IntegerField and when I did ./manage.py migrate, > appeared the message on terminal: > > django.db.utils.ProgrammingError: column "rotulo" cannot be cast > automatically to type inte

Error when change a CharField to IntegerField

2014-12-30 Thread Neto
I changed a CharField to IntegerField and when I did ./manage.py migrate, appeared the message on terminal: django.db.utils.ProgrammingError: column "rotulo" cannot be cast automatically to type integer HINT: Specify a USING expression to perform the conversion. What is it? -- You received