Thanks everyone for your answers. I think I understand this a bit more
now. I hope to have something published to Heroku by the end of the
week, time permitting.

On Sep 7, 5:43 pm, Paul Cortens <[email protected]> wrote:
> On Sep 7, 10:42 am, joviyach <[email protected]> wrote:> Hello all,
>
> > I am relatively new to RoR, but I had been using Heroku Garden
>
> I'm not sure if you are still using herokugarden, but I'm pretty sure
> that's being phased out.
>
> > Git works, but how does Heroku "know" that the database for example is
> > a MySQL database and not a Postgres database, etc...
> > Does this read the local database.yml file for this information?
>
> I haven't dug into the source of the heroku gem, but I'm pretty sure
> that's where it looks.
>
> > Is it essentially doing the migrate over again on Heroku?
>
> When you run git push heroku master (or something similar) it doesn't
> do ANYTHING to your database: no migrations no copying data from
> development.
>
> > How is any of the existing local data itself then populated?
>
> In short, it isn't. However, there is a command (heroku db:push) which
> will make your production database match your development database.
>
> To just run the migrations, the command is heroku rake db:migrate.
> Once you have really deployed your app, this is what you will use more
> often.
>
> HTH
> Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to