Add timestamp columns to geo_nodes table

parent 82d5bb43
# 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
......@@ -1450,6 +1450,8 @@ ActiveRecord::Schema.define(version: 2019_08_02_235445) do
t.string "internal_url"
t.string "name", null: false
t.integer "container_repositories_max_capacity", default: 10, null: false
t.datetime_with_timezone "created_at"
t.datetime_with_timezone "updated_at"
t.index ["access_key"], name: "index_geo_nodes_on_access_key"
t.index ["name"], name: "index_geo_nodes_on_name", unique: true
t.index ["primary"], name: "index_geo_nodes_on_primary"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment