scinote-web/db/migrate/20240429070135_add_discarded_at_to_results.rb

6 lines
172 B
Ruby

class AddDiscardedAtToResults < ActiveRecord::Migration[7.0]
def change
add_column :results, :discarded_at, :datetime
add_index :results, :discarded_at
end
end