I can confirm that this works. It's actually faster as well.

On Tuesday, March 1, 2011 2:14:46 PM UTC+1, Marcin Olak wrote:
>
> Instead of migrating try to load schema directly: 
>
> rake db:schema:load RAILS_ENV=production 
>
> On 27 Lut, 19:46, Ryan Gibbons <insani...@gmail.com> wrote: 
> > I had the same problem I got around it by migrated like this .. it's hack 
>
> > and I make no guarantees you will have a working system when it's down, 
> but 
> > it should be okay :/ 
> > 
> > *Option 1* 
> > 
> > export RAILS_ENV=production 
> > rake db:migrate VERSION=20090203101718 
> > 
> > then go into database and add a column to projects able named 
> suspended_at 
> > 
> > rake db:migrate 
> > 
> > this will fail, go into the database and remove the column suspended_at 
> > 
> > rake db:migrate 
> > 
> > and it should work. 
> > * 
> > *

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to