Re: [Rails] Re: migrating just production database
by Rick Olson other posts by this author
Aug 30 2005 4:48AM messages near this date
[Rails] Re: migrating just production database
|
Re: [Rails] Re: migrating just production database
On 8/28/05, Joe Van Dyk <joevandyk@[...].com> wrote:
> On 8/28/05, Joe Van Dyk <joevandyk@[...].com> wrote:
> > Hi,
> >
> > Is it possible to do a 'rake migrate' on just the production database?
> > I don't have the development one installed and it's complaining.
> >
>
> I'm also getting the following error:
>
> joevd@bidwell$ rake environment RAILS_ENV=production migrate
>
> rake aborted!
> undefined method `[]' for nil:NilClass
> ./Rakefile:192
Your schema info table is probably empty. There's already a patch for
it, however. For now, create a row and put whatever version the
production database is up to.
Also, all you really need is: rake migrate RAILS_ENV=production
--
rick
http://techno-weenie.net
_______________________________________________
Rails mailing list
Rails@[...].org
http://lists.rubyonrails.org/mailman/listinfo/rails
Thread:
Joe Van Dyk
Joe Van Dyk
Rick Olson
Jamis Buck
|