7 lines
161 B
Ruby
7 lines
161 B
Ruby
class AddHiddenAtToComments < ActiveRecord::Migration
|
|
def change
|
|
add_column :comments, :hidden_at, :datetime
|
|
add_index :comments, :hidden_at
|
|
end
|
|
end
|