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
We have a production and staging environment, we pulled our production database, ran migrations on local environment and then pushed database on staging.
One table created by one of the migrations seems to have lost it serial id when pushed in staging (table is working in local).
Id is now id integer NOT NULL and not id integer NOT NULL DEFAULT nextval('motorbike_contract_request_details_id_seq'::regclass) as other ids.
Error is :
null value in column "id" violates not-null constraint
The text was updated successfully, but these errors were encountered:
We have a production and staging environment, we pulled our production database, ran migrations on local environment and then pushed database on staging.
One table created by one of the migrations seems to have lost it serial id when pushed in staging (table is working in local).
Id is now
id integer NOT NULL
and notid integer NOT NULL DEFAULT nextval('motorbike_contract_request_details_id_seq'::regclass)
as other ids.Error is :
The text was updated successfully, but these errors were encountered: