/*
  Warnings:

  - The `interval` column on the `plans` table would be dropped and recreated. This will lead to data loss if there is data in the column.
  - Added the required column `transactionAt` to the `trading_wallet_transactions` table without a default value. This is not possible if the table is not empty.

*/
-- AlterTable
ALTER TABLE "payments" ADD COLUMN     "refund_queued_at" TIMESTAMP(3);

-- AlterTable
ALTER TABLE "plans" DROP COLUMN "interval",
ADD COLUMN     "interval" INTEGER;

-- AlterTable
ALTER TABLE "trading_wallet_transactions" ADD COLUMN     "transactionAt" TIMESTAMP(3) NOT NULL;
