mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-08-30 00:59:13 +00:00
11 lines
260 B
Ruby
11 lines
260 B
Ruby
class CreateChatRoomParticipations < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :chat_room_participations do |t|
|
|
t.references :user, foreign_key: true
|
|
t.references :chat_room, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|