11 lines
503 B
SQL
11 lines
503 B
SQL
|
|
/*
|
||
|
|
Warnings:
|
||
|
|
|
||
|
|
- Added the required column `pricing_model` to the `goods` table without a default value. This is not possible if the table is not empty.
|
||
|
|
- Added the required column `unit_type` to the `goods` table without a default value. This is not possible if the table is not empty.
|
||
|
|
|
||
|
|
*/
|
||
|
|
-- AlterTable
|
||
|
|
ALTER TABLE `goods` ADD COLUMN `pricing_model` ENUM('STANDARD', 'GOLD') NOT NULL,
|
||
|
|
ADD COLUMN `unit_type` ENUM('COUNT', 'GRAM', 'KILOGRAM', 'MILLILITER', 'LITER', 'METER', 'HOUR') NOT NULL;
|