You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
259 B
12 lines
259 B
6 years ago
|
class CreateMessageDetails < ActiveRecord::Migration[5.2]
|
||
|
def change
|
||
|
create_table :message_details do |t|
|
||
|
t.longtext :content
|
||
|
t.integer :message_id
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
add_index :message_details, :message_id
|
||
|
end
|
||
|
end
|