ALTER TABLE "sessions"
	DROP CONSTRAINT "sessions_user_id_users_id_fk";
--> statement-breakpoint
DO
$$
	BEGIN
		ALTER TABLE "sessions"
			ADD CONSTRAINT "sessions_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users" ("id") ON DELETE cascade ON UPDATE no action;
	EXCEPTION
		WHEN duplicate_object THEN null;
	END
$$;
