START TRANSACTION;

ALTER TABLE `customer`
	ADD COLUMN `trial` TINYINT NULL DEFAULT NULL AFTER `synced_date`;

UPDATE configuration set config_value = "1.0.47", date_change=CURRENT_DATE WHERE config_key = "db_version";

COMMIT;
