salix/db/versions/.archive/10390-chocolateAnthurium/00-firstScript.sql

3 lines
124 B
MySQL
Raw Normal View History

UPDATE vn.sale SET price = 0 WHERE price IS NULL;
ALTER TABLE vn.sale MODIFY COLUMN price decimal(10,2) DEFAULT 0 NOT NULL;