Skip to content

Commit

Permalink
Bump solid_cable from 1.0.3 to 3.0.2
Browse files Browse the repository at this point in the history
Bumps [solid_cable](https://github.com/rails/solid_cable) from 1.0.3 to 3.0.2.
- [Release notes](https://github.com/rails/solid_cable/releases)
- [Commits](rails/solid_cable@v1.0.3...v3.0.2)

---
updated-dependencies:
- dependency-name: solid_cable
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and MrSerth committed Sep 30, 2024
1 parent fbff134 commit a16c4c8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
7 changes: 5 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,11 @@ GEM
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
solid_cable (1.0.3)
rails (< 9)
solid_cable (3.0.2)
actioncable (>= 7.2)
activejob (>= 7.2)
activerecord (>= 7.2)
railties (>= 7.2)
solid_queue (1.0.0)
activejob (>= 7.1)
activerecord (>= 7.1)
Expand Down
14 changes: 14 additions & 0 deletions db/cable_migrate/20240930231316_create_compact_channel.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# frozen_string_literal: true

class CreateCompactChannel < ActiveRecord::Migration[7.2]
def change
change_column :solid_cable_messages, :channel, :binary, limit: 1024, null: false
add_column :solid_cable_messages, :channel_hash, :integer, limit: 8, if_not_exists: true
add_index :solid_cable_messages, :channel_hash, if_not_exists: true
change_column :solid_cable_messages, :payload, :binary, limit: 536_870_912, null: false

SolidCable::Message.find_each do |msg|
msg.update(channel_hash: SolidCable::Message.channel_hash_for(msg.channel))
end
end
end
9 changes: 5 additions & 4 deletions db/cable_schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a16c4c8

Please sign in to comment.