[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmrs-dev
Subject:    Re: Appointment Module | First Time liquibase
From:       Lluis Martinez <lluismf () gmail ! com>
Date:       2012-11-25 21:45:48
Message-ID: CAAmjNgaaYwL2TVtwkwfVgCE4SBt_mEe1SLCxVH4=3Ao8iLXFpA () mail ! gmail ! com
[Download RAW message or body]

Validate the XML against the XSD and get rid of the syntactic errors.
Then deal with the semantic ones, if any.

On Sun, Nov 25, 2012 at 10:05 PM, Yonatan Grinberg
<yonatan.proj@gmail.com> wrote:
> But now its not in the <createTable> scope,
> 
> Pastebin: http://pastebin.com/g5CW647g
> 
> 
> On Sun, Nov 25, 2012 at 11:04 PM, Lluis Martinez <lluismf@gmail.com> wrote:
> > 
> > Same error, different line?
> > 
> > On Sun, Nov 25, 2012 at 9:27 PM, Yonatan Grinberg
> > <yonatan.proj@gmail.com> wrote:
> > > Thank you Lluis, such a silly mistake.
> > > 
> > > The new error is here: http://pastebin.com/H8hxpwgB
> > > 
> > > Yonatan
> > > 
> > > 
> > > On Sun, Nov 25, 2012 at 9:44 PM, Lluis Martinez <lluismf@gmail.com>
> > > wrote:
> > > > 
> > > > It seems like addForeignKeyConstraint is misplaced and the XML is not
> > > > valid according to the schema. In the first table this element is
> > > > outside createTable whereas in the second table is inside. Not sure
> > > > which one is the good one though, check the liquibase in core for
> > > > examples.
> > > > 
> > > > Cheers
> > > > 
> > > > On Sun, Nov 25, 2012 at 8:28 PM, Yonatan Grinberg
> > > > <yonatan.proj@gmail.com> wrote:
> > > > > Hi everyone,
> > > > > Im currently having a blocker in our Sprint,
> > > > > 
> > > > > I created the liquibase.xml file (Pastebin:
> > > > > http://pastebin.com/rcKnUNu9)
> > > > > 
> > > > > Here is the Data Model im trying to add:
> > > > > 
> > > > > 
> > > > > https://tickets.openmrs.org/secure/attachment/39933/EER%20v4%20agreed%20but%20not%20standard%20yet.png
> > > > >  
> > > > > Without relating to the correctness of the model, im having the
> > > > > following
> > > > > issue when adding the module to OpenMRS: http://pastebin.com/yAr9EADV
> > > > > 
> > > > > I have no prior experience with liquibase so please take this into
> > > > > consideration.
> > > > > The full commit is here:
> > > > > 
> > > > > 
> > > > > https://github.com/openmrs/openmrs-module-appointment/commit/6b7aa807933a0c2cb9907e217e74e5d7719a40cd
> > > > >  
> > > > > Thank you
> > > > > Yonatan
> > > > > 
> > > > > --
> > > > > OpenMRS Developers: http://go.openmrs.org/dev
> > > > > Post: dev@openmrs.org
> > > > > Unsubscribe: dev+unsubscribe@openmrs.org
> > > > > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > > > > 
> > > > > 
> > > > 
> > > > --
> > > > OpenMRS Developers: http://go.openmrs.org/dev
> > > > Post: dev@openmrs.org
> > > > Unsubscribe: dev+unsubscribe@openmrs.org
> > > > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > > > 
> > > > 
> > > 
> > > --
> > > OpenMRS Developers: http://go.openmrs.org/dev
> > > Post: dev@openmrs.org
> > > Unsubscribe: dev+unsubscribe@openmrs.org
> > > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > > 
> > > 
> > 
> > --
> > OpenMRS Developers: http://go.openmrs.org/dev
> > Post: dev@openmrs.org
> > Unsubscribe: dev+unsubscribe@openmrs.org
> > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > 
> > 
> 
> --
> OpenMRS Developers: http://go.openmrs.org/dev
> Post: dev@openmrs.org
> Unsubscribe: dev+unsubscribe@openmrs.org
> Manage your OpenMRS subscriptions at https://id.openmrs.org/
> 
> 

-- 
OpenMRS Developers: http://go.openmrs.org/dev
Post: dev@openmrs.org
Unsubscribe: dev+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic