ALTER TABLE "loyalty_memberships" RENAME TO "club_memberships";--> statement-breakpoint
ALTER TABLE "club_memberships" RENAME CONSTRAINT "loyalty_memberships_pkey" TO "club_memberships_pkey";--> statement-breakpoint
ALTER TABLE "club_memberships" RENAME CONSTRAINT "loyalty_memberships_user_id_users_id_fk" TO "club_memberships_user_id_users_id_fk";--> statement-breakpoint
ALTER TABLE "club_memberships" RENAME CONSTRAINT "loyalty_memberships_vendor_id_vendors_id_fk" TO "club_memberships_vendor_id_vendors_id_fk";--> statement-breakpoint
ALTER TABLE "club_memberships" RENAME CONSTRAINT "loyalty_memberships_joined_via_purchase_id_purchases_id_fk" TO "club_memberships_joined_via_purchase_id_purchases_id_fk";--> statement-breakpoint
ALTER TABLE "club_memberships" RENAME CONSTRAINT "loyalty_user_vendor_unique" TO "club_user_vendor_unique";--> statement-breakpoint
ALTER INDEX "loyalty_vendor_idx" RENAME TO "club_vendor_idx";
