/*
  Warnings:

  - You are about to drop the column `gateway_id` on the `cdr` table. All the data in the column will be lost.
  - You are about to drop the column `proxy_id` on the `cdr` table. All the data in the column will be lost.

*/
-- DropForeignKey
ALTER TABLE `cdr` DROP FOREIGN KEY `cdr_gateway_id_fkey`;

-- DropForeignKey
ALTER TABLE `cdr` DROP FOREIGN KEY `cdr_proxy_id_fkey`;

-- DropForeignKey
ALTER TABLE `cdr-metrics` DROP FOREIGN KEY `cdr-metrics_gateway_id_fkey`;

-- DropForeignKey
ALTER TABLE `cdr-metrics` DROP FOREIGN KEY `cdr-metrics_proxy_id_fkey`;

-- DropIndex
DROP INDEX `cdr_gateway_id_fkey` ON `cdr`;

-- DropIndex
DROP INDEX `cdr_proxy_id_fkey` ON `cdr`;

-- DropIndex
DROP INDEX `cdr-metrics_gateway_id_fkey` ON `cdr-metrics`;

-- DropIndex
DROP INDEX `cdr-metrics_proxy_id_fkey` ON `cdr-metrics`;

-- AlterTable
ALTER TABLE `cdr` DROP COLUMN `gateway_id`,
    DROP COLUMN `proxy_id`;
