/*
  Warnings:

  - A unique constraint covering the columns `[referCode]` on the table `User` will be added. If there are existing duplicate values, this will fail.
  - A unique constraint covering the columns `[affiliateCode]` on the table `User` will be added. If there are existing duplicate values, this will fail.

*/
-- AlterTable
ALTER TABLE `User` ADD COLUMN `affiliateCode` VARCHAR(191) NULL,
    ADD COLUMN `referCode` VARCHAR(191) NULL;

-- CreateIndex
CREATE UNIQUE INDEX `User_referCode_key` ON `User`(`referCode`);

-- CreateIndex
CREATE UNIQUE INDEX `User_affiliateCode_key` ON `User`(`affiliateCode`);
