Can i send my database data to someone?

hi, i recently am working on a project with a friend and was wondering
whats the best way for them to add data into their db? can i send them
what i populated my database with? if so, what command do they run? or
where do they place he files?

thanslks

you have a few options. one is if you have been creating your
application
properly, you should have migration files to send to your friend. These
at
least would give the structure of your database. Then you can get the
plugin ar_fixtures and use that to copy all of your current data into
fixtures. then you can send your friend your migrations and fixtures
and he
can run the rake tasks (rake db:migrate and rake db:fixtures:load).

Otherwise, hopefully your friend is using the same type of database that
you
are. For instance, if you’re both using MySQL you can just dump your
schema
to a file and send that to your friend so that he can import the
structure
and data into his database.

On 12/20/06, mixplate [email protected] wrote:

Posted via http://www.ruby-forum.com/.


Mike W.
Web D.
UW-Eau Claire

if you are using mysql, then msqlAdmin provides the gui options for
backup and restore which provides a very simple way to copy a database
between machines

Tonypm