15 lines
408 B
SQL
15 lines
408 B
SQL
/*
|
|
Warnings:
|
|
|
|
- A unique constraint covering the columns `[permission]` on the table `sys_resource` will be added. If there are existing duplicate values, this will fail.
|
|
|
|
*/
|
|
-- DropIndex
|
|
DROP INDEX "sys_resource_name_type_key";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "sys_resource" ADD COLUMN "permission" TEXT;
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "sys_resource_permission_key" ON "sys_resource"("permission");
|