-- Add address fields and EV charging enum column (legacy)
ALTER TABLE "Listing" ADD COLUMN IF NOT EXISTS "streetAddress" TEXT;
ALTER TABLE "Listing" ADD COLUMN IF NOT EXISTS "addressNote" TEXT;
ALTER TABLE "Listing" ADD COLUMN IF NOT EXISTS "latitude" DOUBLE PRECISION;
ALTER TABLE "Listing" ADD COLUMN IF NOT EXISTS "longitude" DOUBLE PRECISION;
ALTER TABLE "Listing" ADD COLUMN IF NOT EXISTS "evCharging" "EvCharging" NOT NULL DEFAULT 'NONE';
