Yes, if a sqldiff exists it is run prior to running the liquibase.xml
file.  Its been this way since introduced in 1.7.  The trick with sqldiff
is to make sure you're not doing any mysql specific calls or using mysql
characters (like the tick: `)

Ben

On Thu, Mar 22, 2012 at 6:14 PM, Mark Goodrich <[email protected]> wrote:

> It’s okay if we are still using sqldiff in modules, right? :)****
>
> ** **
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Ben Wolfe
> *Sent:* Thursday, March 22, 2012 3:20 PM
> *To:* [email protected]
> *Subject:* [OPENMRS-DEV] Liquibase in Modules****
>
> ** **
>
> James found a bug with the liquibase.xml files in modules that manifested
> in a strange way.  See https://tickets.openmrs.org/browse/TRUNK-3153 for
> the history.
>
> You don't necessarily have to read through all that, but the *solution is
> to not refer to liquibase 2.0 in the liquibase.xml file* in your module
> if you want your module to work pre OpenMRS 1.9.  We upgraded liquibase to
> 2.0 in OpenMRS 1.9.  There weren't any huge changes to the schema, so
> referring to the old 1.9 xsd links is still ok.
>
> If your module is only available for OpenMRS 1.9+, go ahead and do
> whatever you want with your liquibase.xml file. :-)
>
> Ben****
> ------------------------------
>
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list
> ****
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to