Files
psp_api/prisma/migrations/20260502164952_update_ba_sequence/migration.sql
T

15 lines
517 B
SQL
Raw Normal View History

/*
Warnings:
- You are about to alter the column `invoice_number_sequence` on the `business_activities` table. The data in that column could be lost. The data in that column will be cast from `VarChar(191)` to `Decimal(20,0)`.
*/
-- AlterTable
ALTER TABLE `business_activities` MODIFY `invoice_number_sequence` DECIMAL(20, 0) NOT NULL DEFAULT 1;
-- AlterTable
ALTER TABLE `guilds` ALTER COLUMN `invoice_template` DROP DEFAULT;
-- AlterTable
ALTER TABLE `stock_keeping_units` ALTER COLUMN `type` DROP DEFAULT;