Closed rdagumampan closed 4 years ago
Fixed available in next release. https://github.com/rdagumampan/yuniql/commit/b3530314c4ac7530ac3a841efabdd08f590ae424
To support _draft, developer/data engineers need to handle repeated execution of scripts placed in _draft directory. For example, dropping the procedure before creating them.
DROP PROCEDURE IF EXISTS dbo.usp_get_employees;
GO
CREATE PROCEDURE dbo.usp_get_employees
AS
SELECT * FROM dbo.employees;
GO
Scripts _draft directory was skipped when db runs latest version
How to reproduce:
yuniql init
v0.00
yuniql run
v0.01
yuniql run
Expected results:
_pre
,_draft
and_post
must be executed all the timeActual results: