···33### Migrating From `bitwarden-ruby` to Rubywarden and ActiveRecord
4455If you've used this application before it switched to using ActiveRecord
66-(when it was called `bitwarden-ruby`),
77-you need to do the following steps to migrate the data and generate the new
88-table structures.
66+(when it was called `bitwarden-ruby`), you need to do the following steps to
77+migrate the data and generate the new table structures.
98109Even though the migration script will import to a new database file at a
1110different path, it is probably best to create a backup yourself.
···18171918 git pull
20192121-Afterwards you need to run bundle to add some required libraries for the migration
2020+Then checkout to a specific revision where the migration was made:
2121+2222+ git checkout 40044728d
2323+2424+Run `bundle` to add some required libraries for the migration:
22252326 bundle --with migrate
2427···4346related.
44474548It is recommended to follow the
4646-[initial installation instructions](https://github.com/jcs/rubywarden#usage)
4949+[initial installation instructions](https://github.com/jcs/rubywarden#manual-setup)
4750to create a new, unprivileged user to own the new `db/production/` database
4851and run the server.
5252+5353+Lastly, update to the current code:
5454+5555+ git checkout master
5656+5757+And then follow the
5858+[update instructions](https://github.com/jcs/rubywarden#updating)
5959+to bring your database up to date with the latest migrations.