remove types from ip pools

closes #24
This commit is contained in:
Adam Cooke
2017-04-28 16:40:53 +01:00
parent 88974cee85
commit 698b580db4
10 changed files with 14 additions and 29 deletions
@@ -0,0 +1,5 @@
class RemoveTypeFromIPPools < ActiveRecord::Migration[5.0]
def change
remove_column :ip_pools, :type, :string
end
end
+1 -2
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170421195415) do
ActiveRecord::Schema.define(version: 20170428153353) do
create_table "additional_route_endpoints", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4" do |t|
t.integer "route_id"
@@ -141,7 +141,6 @@ ActiveRecord::Schema.define(version: 20170421195415) do
t.datetime "created_at", precision: 6
t.datetime "updated_at", precision: 6
t.boolean "default", default: false
t.string "type"
t.index ["uuid"], name: "index_ip_pools_on_uuid", length: { uuid: 8 }, using: :btree
end