Skip to content

Commit 4d11eeb

Browse files
committed
Improve upgrade instructions
1 parent 4b3483a commit 4d11eeb

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

UPGRADING.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
# Upgrading to version 0.7.x
22

3-
This version removed the new async mode introduced in version 0.4.0 and introduced a new binstub that can be used to start Solid Queue's supervisor. To install it, you can just run
3+
This version removed the new async mode introduced in version 0.4.0 and introduced a new binstub that can be used to start Solid Queue's supervisor. It includes also a minor migration.
4+
5+
To install both the binstub `bin/jobs` and the migration, you can just run
46
```
57
bin/rails generate solid_queue:install
68
```
79

10+
Or, if you're using a different database for Solid Queue:
11+
12+
```bash
13+
$ bin/rails generate solid_queue:install --database <the_name_of_your_solid_queue_db>
14+
```
15+
16+
817
# Upgrading to version 0.6.x
918

1019
## New migration in 3 steps

solid_queue.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.license = "MIT"
1212

1313
spec.post_install_message = <<~MESSAGE
14-
Upgrading to Solid Queue 0.4.x? There are some breaking changes about how Solid Queue is started,
14+
Upgrading to Solid Queue 0.4.x, 0.5.x, 0.6.x or 0.7.x? There are some breaking changes about how Solid Queue is started,
1515
configuration and new migrations. Check https://github.com/rails/solid_queue/blob/main/UPGRADING.md
1616
for upgrade instructions.
1717
MESSAGE

0 commit comments

Comments
 (0)