Add timestamp columns to geo_nodes
This commit is contained in:
parent
95ba178dcd
commit
349f35200a
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue