掲示板実装
This commit is contained in:
13
db/migrate/20260218130000_create_solid_cable_messages.rb
Normal file
13
db/migrate/20260218130000_create_solid_cable_messages.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateSolidCableMessages < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table "solid_cable_messages" do |t|
|
||||
t.binary "channel", limit: 1024, null: false
|
||||
t.binary "payload", limit: 536870912, null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.integer "channel_hash", limit: 8, null: false
|
||||
t.index [ "channel" ], name: "index_solid_cable_messages_on_channel"
|
||||
t.index [ "channel_hash" ], name: "index_solid_cable_messages_on_channel_hash"
|
||||
t.index [ "created_at" ], name: "index_solid_cable_messages_on_created_at"
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user