-- Drop the existing constraint
ALTER TABLE "public"."databases" DROP CONSTRAINT IF EXISTS "databases_dbs_database_check";

-- Add the constraint again
ALTER TABLE "public"."databases" ADD CONSTRAINT "databases_dbs_database_check" CHECK (dbs_database::text = ANY (ARRAY['postgres'::character varying::text, 'mysql'::character varying::text, 'elastic'::character varying::text, 'redis'::character varying::text, 'dune'::character varying::text, 'sqlite'::character varying::text, 'custom'::character varying::text]));
