Ahh, well in that case ACK on the 3rd patch too :-)

----- Original Message -----
From: "Scott Seago" <sse...@redhat.com>
To: "Martyn Taylor" <mtay...@redhat.com>
Cc: deltacloud-devel@lists.fedorahosted.org
Sent: Friday, September 10, 2010 2:06:18 PM GMT +00:00 GMT Britain, Ireland, 
Portugal
Subject: Re: [deltacloud-devel] [PATCH aggregator 3/3] Added the models for 
zones and site-wide metadata.

Martyn Taylor wrote:
> Ack on the first and second patch in this series.
>
> The 3rd patch causes an error when migrating the test database:
>
> rake aborted!
> Could not find table 'zones'
>
> Migrates fine for dev and production dbs (seems to be a strange one!)
>
> --Martyn
>
>   
I'm not sure why it's doing this, but there's no reason to ever run 
migrate on the test database. Tests are run with a completely empty db, 
which wouldn't work with migrate (since migrate adds some data rows, 
etc), so the tests load the database from schema.rb -- so as far as the 
tests are concerned, what matters is that the dev database is fully 
migrated.

Scott

_______________________________________________
deltacloud-devel mailing list
deltacloud-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to