/*
  Warnings:

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

*/
-- AlterTable
ALTER TABLE "cf_api_keys" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP,
ALTER
COLUMN "last_used" DROP
NOT NULL;

-- CreateIndex
CREATE UNIQUE INDEX "cf_api_keys_key_key" ON "cf_api_keys" ("key");
