add gst%
This commit is contained in:
7
src/main/resources/dbmigration/1.26.sql
Normal file
7
src/main/resources/dbmigration/1.26.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- drop dependencies
|
||||
alter table product drop constraint if exists ck_product_uom;
|
||||
-- apply alter tables
|
||||
alter table product alter column uom type varchar(6);
|
||||
alter table product add column if not exists gst_pct float;
|
||||
-- apply post alter
|
||||
alter table product add constraint ck_product_uom check ( uom in ('KG','CFT','TON','LTR','NUMBER','MTR','BOX','CUM','PACKET','ALL','NOS'));
|
||||
Reference in New Issue
Block a user