scinote-web/db/migrate/20180524091143_add_discard_to_repositories.rb

7 lines
183 B
Ruby
Raw Normal View History

class AddDiscardToRepositories < ActiveRecord::Migration[5.1]
def change
add_column :repositories, :discarded_at, :datetime
add_index :repositories, :discarded_at
end
end