How to migrate psql databse from c9 to AWS c9?

rails
postgresql
database

#1

I have a Rails application which is in development mode and has a psql database. However I created an env in AWS C9, how should I migrate my existing db to AWS c9?