You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run flask db upgrade I get the error: sqlalchemy.exc.IntegrityError: (psycopg2.errors.NotNullViolation) column "prefix_sms" contains null values [SQL: ALTER TABLE services_history ALTER COLUMN prefix_sms SET NOT NULL]
I'm not sure why this is being brought up, I don't have a services_history table in my models.py file, but I do have a prefix_sms column in another table. I have the services_history table in my database. I'm confused where this error is referencing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I run
flask db upgrade
I get the error:sqlalchemy.exc.IntegrityError: (psycopg2.errors.NotNullViolation) column "prefix_sms" contains null values
[SQL: ALTER TABLE services_history ALTER COLUMN prefix_sms SET NOT NULL]
I'm not sure why this is being brought up, I don't have a
services_history
table in my models.py file, but I do have aprefix_sms
column in another table. I have theservices_history
table in my database. I'm confused where this error is referencing.Beta Was this translation helpful? Give feedback.
All reactions