Skip to content

Commit

Permalink
Remove old "Upgrading" section of README
Browse files Browse the repository at this point in the history
This described how to upgrade to version 1.0, which is confusing now
that we have upgrade instructions for 2.0.
  • Loading branch information
jhawthorn committed May 3, 2018
1 parent bd57b92 commit e0fa962
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,6 @@ Please update your `Gemfile` if you still need the model translations.
gem 'solidus_globalize', github: 'solidusio-contrib/solidus_globalize', branch: 'master'
```

## Upgrading

**WARNING**: If you want to keep your model translations, be sure to add the `solidus_globalize` gem to your `Gemfile` **before** migrating the database. Otherwise **you will loose your translations**!

### 1. Migrate your database

bin/rake solidus_i18n:upgrade
bin/rake db:migrate

*Note:* The migration automatically skips the removal of the translations tables. So it's safe to run the migration without data loss. But be sure to have the `solidus_globalize` gem in your `Gemfile`, if you want to keep them.

### 2. Remove Configuration

Remove all occurrences of `SolidusI18n::Config.supported_locales` from your code.


Contributing
------------

Expand Down

0 comments on commit e0fa962

Please sign in to comment.