Thanks Nathan,
I’ll take a longer look at Change extensions. I notice some of the examples have associated XSD files. Is that required?
Thanks,
Mark
Thanks Nathan,
I’ll take a longer look at Change extensions. I notice some of the examples have associated XSD files. Is that required?
Thanks,
Mark
I am implementing a CustomTaskChange that would like to log the Author and Id of the changeSet from which it is invoked. Is that information available from the Database object passed to the validate() and execute() methods?
I see the getRanChangeSetList() method…but I believe that only tells me what has already run, not what is currently running.
Thanks,
Mark
I don’t think you do with CustomChangeTask, but with a Change extension (liquibase.org/extensions) you do have a this.getChangeSet() method which returns the ChangeSet object containing getId() and getAuthor().
Nathan
It is required that you have a different namespace for your change, but we do have a generic XSD that you can use which simply allows any tag.
<span class="Apple-style-span"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; b>
Got it…thanks. I’ll press ahead and report back here.
Thanks so much for the advice!
Mark