I changed the constraints in a table so that this column:
check ((hosting)::text = ANY (ARRAY[('Cloud'::character varying)::text, ('Server'::character varying)::text])),
should change to:
check ((hosting)::text = ANY (ARRAY[('Cloud'::character varying)::text, ('Server'::character varying)::text, ('Data Center'::character varying)::text])),
Using the constraints=[Check(...))] syntax in peewee. However, when running the migration, the constraint is not changed.
I changed the constraints in a table so that this column:
check ((hosting)::text = ANY (ARRAY[('Cloud'::character varying)::text, ('Server'::character varying)::text])),
should change to:
check ((hosting)::text = ANY (ARRAY[('Cloud'::character varying)::text, ('Server'::character varying)::text, ('Data Center'::character varying)::text])),
Using the constraints=[Check(...))] syntax in peewee. However, when running the migration, the constraint is not changed.