discourse/db/migrate/20170425083011_add_deleted_...

9 lines
237 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddDeletedAtToTopicEmbeds < ActiveRecord::Migration[4.2]
2017-04-24 14:29:04 -04:00
def change
add_column :topic_embeds, :deleted_at, :datetime
add_column :topic_embeds, :deleted_by_id, :integer, null: true
end
end