tlberglund / groovy-liquibase

Yet Another Groovy DSL for Liquibase
Other
85 stars 66 forks source link

relativeToChangelogFile #5

Closed ErwinvanBrandwijk closed 13 years ago

ErwinvanBrandwijk commented 13 years ago

Some tags use relativeToChangelogFile in liquibase core. It isn't supported in groovy-liquibase.

ErwinvanBrandwijk commented 13 years ago

sqlFile is easy just ad a param ,'relativeToChangelogFile'. And it works, I tested it.

void sqlFile(Map params) { def change = makeChangeFromMap(SQLFileChange, params, ['path', 'stripComments', 'splitStatements', 'encoding', 'endDelimiter','relativeToChangelogFile']) change.resourceAccessor = resourceAccessor addChange(change) }

ErwinvanBrandwijk commented 13 years ago

Not closing this one.

sqlFile is supported now in master and working.

Include not yet.

ErwinvanBrandwijk commented 13 years ago

include is now supported in fork, waiting for adoption in master.

It's tested in ubuntu.

ErwinvanBrandwijk commented 13 years ago

Adopted in master