Files
nairobi/db/migrate/20180726055120_add_timestamps_to_dashboard_actions.rb
Javi Martín 91a3184281 Simplify creating timestamps in migrations
We were using the `timestamps` method most of the time, but sometimes we
were creating the columns manually.

Note editing past migrations if fine as long as the SQL they generate
remains identical, which is the case here.
2019-10-24 21:20:16 +02:00

6 lines
130 B
Ruby

class AddTimestampsToDashboardActions < ActiveRecord::Migration[4.2]
def change
add_timestamps :dashboard_actions
end
end