chore: db migration
This commit is contained in:
parent
d4cfd138d9
commit
b3277c8560
4 changed files with 32 additions and 11 deletions
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `componentId` on the `RoleMenuComponentPermission` table. All the data in the column will be lost.
|
||||
- You are about to drop the column `componentTag` on the `RoleMenuComponentPermission` table. All the data in the column will be lost.
|
||||
- Added the required column `userRole` to the `RoleMenuComponentPermission` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "RoleMenuComponentPermission" DROP COLUMN "componentId",
|
||||
DROP COLUMN "componentTag",
|
||||
ADD COLUMN "userRole" TEXT NOT NULL;
|
||||
Loading…
Add table
Add a link
Reference in a new issue