Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Migrate Database

Dump r5 database (mysql on pawpaw)

mysqldump -u avalonweb -p avalonweb --tables role_maps --skip-create-options > /tmp/avalon.r5.dump.sql

Load to r6 database (sqlite locally)

bundle exec rails dbconsole 
sqlite> DELETE FROM role_maps;
sqlite> .read /tmp/avalon.r5.dump.sql

Migrate Config files

  • No labels