I'm not sure if this will help, but I found these two links that might help
you out (check the comments on the first one, they look useful to you):

http://snippets.dzone.com/posts/show/3393

http://shifteleven.com/articles/2006/09/28/loading-fixtures-in-a-migration

Carl

On Thu, Jan 28, 2010 at 9:43 AM, Ed Jones <ed.jo...@gmail.com> wrote:

> Thanks, Doug.
>
> It's that "extract your development seed data into a yaml file if
> necessary in order to do the initial import on
> heroku" that I've lost track of how to do. Used to be easy and well
> documented. I've searched for three days now.
>
> I just want to upload one table!! :-)
>
> e
>
> On Jan 25, 3:40 pm, Doug Petkanics <petkan...@gmail.com> wrote:
> > Ed,
> >
> > Someone else can chime in if there is actually a way to do a heroku
> db:push
> > for a restricted set of tables (I don't think there is). You may want to
> > look into creating the new tables using a migration and seeding them
> using
> > the technique described in this post:
> http://derekdevries.com/2009/04/13/rails-seed-data/
> >
> > It's relatively straightforward, and you can extract your development
> seed
> > data into a yaml file if necessary in order to do the initial import on
> > heroku.
> >
> > -Doug
> >
> > On Mon, Jan 25, 2010 at 3:31 PM, Ed Jones <ed.jo...@gmail.com> wrote:
> > > Thanks matt.
> >
> > > How do you just load say 3 of 8 tables. The three are new, with some
> > > startup data. The other 5 we want to leave as is on the server.
> >
> > > Ed
> >
> > > On Jan 25, 3:14 pm, Matt Buck <mattb...@capitalthought.com> wrote:
> > > > heroku db:push [<database_url>]
> >
> > > > So, if you're using a local mysql database that you want to replicate
> up
> > > to
> > > > your server, it would look (something) like this:
> >
> > > > mysql://user:passw...@localhost/development?encoding=utf8
> >
> > > > HTH,
> > > > Matt Buck
> >
> > > > On Fri, Jan 22, 2010 at 9:40 AM, Ed Jones <ed.jo...@gmail.com>
> wrote:
> > > > > How do I move some new tables up to the server? That is, leave the
> db
> > > > > tables which exist on Heroku as is, but copy my local data for
> three
> > > > > newly created tables? ( I already did db:migrate).
> >
> > > > > Thanks
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "Heroku" group.
> > > > > To post to this group, send email to her...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com>
> <heroku%2bunsubscr...@googlegroups.com<heroku%252bunsubscr...@googlegroups.com>
> >
> > > <heroku%2bunsubscr...@googlegroups.com<heroku%252bunsubscr...@googlegroups.com>
> <heroku%252bunsubscr...@googlegroups.com<heroku%25252bunsubscr...@googlegroups.com>
> >
> >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/heroku?hl=en.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Heroku" group.
> > > To post to this group, send email to her...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com>
> <heroku%2bunsubscr...@googlegroups.com<heroku%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/heroku?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to her...@googlegroups.com.
> To unsubscribe from this group, send email to
> heroku+unsubscr...@googlegroups.com<heroku%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to