-- Rename price hint column from cents to euros
ALTER TABLE "Listing" RENAME COLUMN "priceHintPerNightCents" TO "priceHintPerNightEuros";

-- Convert stored values from cents to euros (assuming integer cents)
UPDATE "Listing"
SET "priceHintPerNightEuros" = CASE
  WHEN "priceHintPerNightEuros" IS NULL THEN NULL
  ELSE "priceHintPerNightEuros" / 100
END;
