Skip to content

Commit

Permalink
Add reminders to run migrations on upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
zachahn committed Dec 3, 2024
1 parent 19d4331 commit b202ad5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ bundle exec rails generate disqualified:install
bundle binstub disqualified
```

Please remember to run `rails generate disqualified:install` when upgrading
Disqualified! It is mostly an idempotent command and will prepare any necessary
database migrations.


### ActiveJob

Expand Down
2 changes: 2 additions & 0 deletions disqualified.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 3.1.0"

spec.post_install_message = "Remember to update! Run `rails g disqualified:install`"

spec.add_dependency "rails", ">= 7.0.0"
spec.add_dependency "concurrent-ruby", "~> 1.0"
end

0 comments on commit b202ad5

Please sign in to comment.