Skip to content

Commit e0e50ba

Browse files
committed
PC-105: Fix rubocop lint
1 parent 3838606 commit e0e50ba

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

db/migrate/20250416111610_create_solid_cache_table.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ class CreateSolidCacheTable < ActiveRecord::Migration[8.0]
22
def change
33
create_table "solid_cache_entries", force: :cascade do |t|
44
t.binary "key", limit: 1024, null: false
5-
t.binary "value", limit: 536870912, null: false
5+
t.binary "value", limit: 536_870_912, null: false
66
t.datetime "created_at", null: false
77
t.integer "key_hash", limit: 8, null: false
88
t.integer "byte_size", limit: 4, null: false
99
t.index ["byte_size"], name: "index_solid_cache_entries_on_byte_size"
10-
t.index ["key_hash", "byte_size"], name: "index_solid_cache_entries_on_key_hash_and_byte_size"
10+
t.index %w[key_hash byte_size], name: "index_solid_cache_entries_on_key_hash_and_byte_size"
1111
t.index ["key_hash"], name: "index_solid_cache_entries_on_key_hash", unique: true
1212
end
1313
end

db/migrate/20250416111645_create_solid_cable_table.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class CreateSolidCableTable < ActiveRecord::Migration[8.0]
22
def change
33
create_table "solid_cable_messages", force: :cascade do |t|
44
t.binary "channel", limit: 1024, null: false
5-
t.binary "payload", limit: 536870912, null: false
5+
t.binary "payload", limit: 536_870_912, null: false
66
t.datetime "created_at", null: false
77
t.integer "channel_hash", limit: 8, null: false
88
t.index ["channel"], name: "index_solid_cable_messages_on_channel"

0 commit comments

Comments
 (0)