Usually you will have access to something like phpMyAdmin or something 
similar where you can output the data as an .sql file (or whatever best 
suits the import requirements)
Then import as required.


On Tuesday, 17 November 2015 21:08:00 UTC+8, prashant sirohi wrote:
>
> Hi ,i am a newbie in rails and i have recently got a task on my job to 
> migrate the old data from a php website to new rails website.php website 
> data is in mysql and rails data is in postgres,i cannot find a way in which 
> i can transport the whole data from php to rails provided that there are 
> some extra fields and tables being added in rails database also the field 
> names are different in both tables.
>
>  
>
> Can someone suggest a way to do this so that i don't have to do it 
> manually.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/590cb245-4da9-434e-be01-1709d3963b4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to