summaryrefslogtreecommitdiff
path: root/db/migrate/20190802195602_add_timestamps_columns_to_geo_nodes.rb
blob: b95d9037afeb7e2b159401bb8bf674e5c31ae8ad (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class AddTimestampsColumnsToGeoNodes < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  def change
    add_column(:geo_nodes, :created_at, :datetime_with_timezone, null: true)
    add_column(:geo_nodes, :updated_at, :datetime_with_timezone, null: true)
  end
end