Skip to content

Commit

Permalink
purge old migrations
Browse files Browse the repository at this point in the history
Refs #921

By now, hopefully all our users have upgraded at least up to v0.3.0 and
run migrations there which would include all but one migration at this
point. Users who are upgrading from an older version of Errbit should
check out v0.4.0, run migrations and then continue on from there.

This is the migration plan going forward and its documented in the
upgrade section of the README file.
  • Loading branch information
stevecrozz committed Aug 22, 2015
1 parent 4708588 commit d533719
Show file tree
Hide file tree
Showing 19 changed files with 14 additions and 351 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -9,6 +9,7 @@ gem 'actionpack', RAILS_VERSION
gem 'railties', RAILS_VERSION

gem 'mongoid', '5.0.0.beta'
gem 'mongoid_rails_migrations'

gem 'devise'
gem 'haml'
Expand Down
7 changes: 6 additions & 1 deletion Gemfile.lock
Expand Up @@ -184,6 +184,11 @@ GEM
mongoid (>= 3.0.1)
rake
rspec (>= 2.14)
mongoid_rails_migrations (1.0.1)
activesupport (>= 3.2.0)
bundler (>= 1.0.0)
rails (>= 3.2.0)
railties (>= 3.2.0)
multi_json (1.11.2)
multi_xml (0.5.5)
multipart-post (2.0.0)
Expand Down Expand Up @@ -211,7 +216,6 @@ GEM
omniauth-oauth2 (1.3.1)
oauth2 (~> 1.0)
omniauth (~> 1.2)
optionable (0.2.0)
origin (2.1.1)
orm_adapter (0.5.0)
pjax_rails (0.4.0)
Expand Down Expand Up @@ -423,6 +427,7 @@ DEPENDENCIES
meta_request
mongoid (= 5.0.0.beta)
mongoid-rspec
mongoid_rails_migrations
omniauth-github
pjax_rails
poltergeist
Expand Down
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -195,7 +195,13 @@ rake assets:precompile

This will ensure that your application stays up to date with any schema changes.

### Upgrading errbit from version 0.3 to 0.4
### Upgrading errbit beyond v0.4.0

* You must have already run migrations at least up to v0.3.0. Check to
make sure you're schema version is at least 20131011155638 by running rake
db:version before you upgrade beyond v0.4.0

### Upgrading errbit from v0.3.0 to v0.4.0

* All configuration is now done through the environment. See
[configuration](docs/configuration.md)
Expand Down
38 changes: 0 additions & 38 deletions db/migrate/20110422152027_move_notices_to_separate_collection.rb

This file was deleted.

36 changes: 0 additions & 36 deletions db/migrate/20110812135951_move_issue_trackers_to_sti.rb

This file was deleted.

33 changes: 0 additions & 33 deletions db/migrate/20110905134638_link_errs_to_problems.rb

This file was deleted.

10 changes: 0 additions & 10 deletions db/migrate/20111019163257_add_problem_comments_count.rb

This file was deleted.

33 changes: 0 additions & 33 deletions db/migrate/20111102173347_cache_problem_statistics_fix.rb

This file was deleted.

13 changes: 0 additions & 13 deletions db/migrate/20120530005915_rename_klass_to_error_class.rb

This file was deleted.

30 changes: 0 additions & 30 deletions db/migrate/20120603112130_change_github_url_to_github_repo.rb

This file was deleted.

12 changes: 0 additions & 12 deletions db/migrate/20120605091105_set_issue_type_on_problems.rb

This file was deleted.

10 changes: 0 additions & 10 deletions db/migrate/20120822195841_set_first_notice_at_on_problems.rb

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions db/migrate/20121003223358_extract_backtraces.rb

This file was deleted.

15 changes: 0 additions & 15 deletions db/migrate/20121005142110_regenerate_err_fingerprints.rb

This file was deleted.

17 changes: 0 additions & 17 deletions db/migrate/20130208135718_allow_custom_xmpp_on_gtalk.rb.rb

This file was deleted.

12 changes: 0 additions & 12 deletions db/migrate/20130212112719_add_interval_field_for_notifications.rb

This file was deleted.

0 comments on commit d533719

Please sign in to comment.