rdagumampan / yuniql

Free and open source schema versioning and database migration made natively with .NET/6. NEW THIS MAY 2022! v1.3.15 released!
https://yuniql.io
Apache License 2.0
417 stars 63 forks source link

I am doing baseline but it is giving me error #312

Open omptech opened 10 months ago

omptech commented 10 months ago

I have old script which have already executed manually and now I want to deploy all the upcoming scripts (not old scripts) using yuniql extension in azure devops. But I am getting this error while baseline to latest version

WRN 2023-11-09 10:19:23Z Trace logs settings is set to silent (default) and no log files will be produced. To enable log file creation, pass parameter --trace-to-file or see our CLI command reference. ERR 2023-11-09 10:19:23Z Failed to execute baseline function. Not yet implemented, stay tune! Diagnostics stack trace captured a Not yet implemented, stay tune! If you think this is a bug, please report an issue here https://github.com/rdagumampan/yuniql/issues.

omptech commented 10 months ago

Hi @rdagumampan looking for the response.

DavidPavlicek commented 7 months ago

yuniql baseline is an operation to create a baseline script from an already existing database object. This operation has not yet been implemented. You probably want yuniql run which is designed to apply your changes to the database. Just make sure, that your script in v0.00 does nothing (-- dummy script) and then place your actual changes in v0.01, etc...