debian-mirror-gitlab/db/migrate/20190802195602_add_timestamps_columns_to_geo_nodes.rb
2019-10-12 21:52:04 +05:30

11 lines
296 B
Ruby

# 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