/*
  Warnings:

  - You are about to alter the column `ir` on the `invoices` table. The data in that column could be lost. The data in that column will be cast from `Decimal(10,0)` to `Decimal`.
  - You are about to alter the column `cofins` on the `invoices` table. The data in that column could be lost. The data in that column will be cast from `Decimal(10,0)` to `Decimal`.
  - You are about to alter the column `pis` on the `invoices` table. The data in that column could be lost. The data in that column will be cast from `Decimal(10,0)` to `Decimal`.
  - You are about to alter the column `csll` on the `invoices` table. The data in that column could be lost. The data in that column will be cast from `Decimal(10,0)` to `Decimal`.
  - You are about to alter the column `iss` on the `invoices` table. The data in that column could be lost. The data in that column will be cast from `Decimal(10,0)` to `Decimal`.
  - You are about to drop the `service_takers_council_details` table. If the table is not empty, all the data it contains will be lost.

*/
-- DropForeignKey
ALTER TABLE `service_takers_council_details` DROP FOREIGN KEY `service_takers_council_details_professional_council_fkey`;

-- DropForeignKey
ALTER TABLE `service_takers_council_details` DROP FOREIGN KEY `service_takers_council_details_service_taker_fkey`;

-- AlterTable
ALTER TABLE `invoices` MODIFY `ir` DECIMAL NOT NULL,
    MODIFY `cofins` DECIMAL NOT NULL,
    MODIFY `pis` DECIMAL NOT NULL,
    MODIFY `csll` DECIMAL NOT NULL,
    MODIFY `iss` DECIMAL NOT NULL;

-- DropTable
DROP TABLE `service_takers_council_details`;
