12 lines
334 B
SQL
12 lines
334 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[tenantId,key]` on the table `ApiKey` will be added. If there are existing duplicate values, this will fail.
|
|
|
|
*/
|
|
-- CreateIndex
|
|
CREATE INDEX "ApiKey_key_idx" ON "ApiKey"("key");
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "ApiKey_tenantId_key_key" ON "ApiKey"("tenantId", "key");
|