/*
  Warnings:

  - You are about to drop the column `permission_id` on the `subscription` table. All the data in the column will be lost.
  - Added the required column `permissions` to the `subscription` table without a default value. This is not possible if the table is not empty.

*/
-- DropForeignKey
ALTER TABLE "subscription" DROP CONSTRAINT "subscription_permission_id_fkey";

-- AlterTable
ALTER TABLE "subscription" DROP COLUMN "permission_id",
ADD COLUMN     "permissions" JSONB NOT NULL;
