[42S22] [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Invalid column name 'p_comments'

267 views
Skip to first unread message

mahesh goud

unread,
Jan 31, 2020, 10:29:20 AM1/31/20
to Django users
Hi All,

I am trying to add new fiels to mode and migrate these to db. it is giving me below error. Can someone help me? I am blocked to 2 weeks. Screen shot attached

djangomigrationerror.PNG


Jorge Gimeno

unread,
Jan 31, 2020, 11:02:38 PM1/31/20
to django...@googlegroups.com
I know that SQL Server 2008 and 2012 had a regression that would issue this error in some cases.  Have you ensured you're using the latest updates?  I'm not sure what else to suggest here.

-Jorge

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/28c90c68-dd8d-4b60-a3a0-fe6b0da9f21b%40googlegroups.com.

mahesh goud

unread,
Feb 3, 2020, 11:14:10 PM2/3/20
to Django users
Yes I am using latest updates


On Saturday, 1 February 2020 09:32:38 UTC+5:30, jlgimeno71 wrote:
I know that SQL Server 2008 and 2012 had a regression that would issue this error in some cases.  Have you ensured you're using the latest updates?  I'm not sure what else to suggest here.

-Jorge

On Fri, Jan 31, 2020 at 7:28 AM mahesh goud <sweets...@gmail.com> wrote:
Hi All,

I am trying to add new fiels to mode and migrate these to db. it is giving me below error. Can someone help me? I am blocked to 2 weeks. Screen shot attached

djangomigrationerror.PNG


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.

Dimitris Kougioumtzis

unread,
Sep 22, 2023, 2:22:15 AM9/22/23
to Django users
I had the same  problem 

Some ware in  your code you  loop the model that you want to make the changes so a solution is to comment the code temporally so you can proceed with your migrations 
Reply all
Reply to author
Forward
0 new messages