CREATE TABLE "user_billing_details" (
	"id" text PRIMARY KEY NOT NULL,
	"user_id" text NOT NULL,
	"full_name" text,
	"address_line1" text,
	"address_line2" text,
	"city" text,
	"postal_code" text,
	"country" text,
	"phone" text,
	"updated_at" timestamp DEFAULT now() NOT NULL,
	CONSTRAINT "user_billing_details_user_id_unique" UNIQUE("user_id")
);
--> statement-breakpoint
ALTER TABLE "user_billing_details" ADD CONSTRAINT "user_billing_details_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;