From fbb610d84b3721def09ffe9086a3fbd6f5e6a53d Mon Sep 17 00:00:00 2001 From: Zahi Akiva Date: Sun, 24 Sep 2017 15:17:06 +0300 Subject: [PATCH] Add requests and limits to Persistent Volume Claim --- ...2_add_requests_and_limits_to_persistent_volume_claims.rb | 6 ++++++ db/schema.yml | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 db/migrate/20170924102942_add_requests_and_limits_to_persistent_volume_claims.rb diff --git a/db/migrate/20170924102942_add_requests_and_limits_to_persistent_volume_claims.rb b/db/migrate/20170924102942_add_requests_and_limits_to_persistent_volume_claims.rb new file mode 100644 index 000000000..e8bc70926 --- /dev/null +++ b/db/migrate/20170924102942_add_requests_and_limits_to_persistent_volume_claims.rb @@ -0,0 +1,6 @@ +class AddRequestsAndLimitsToPersistentVolumeClaims < ActiveRecord::Migration[5.0] + def change + add_column :persistent_volume_claims, :requests, :text + add_column :persistent_volume_claims, :limits, :text + end +end diff --git a/db/schema.yml b/db/schema.yml index d0f33450a..782f91e99 100644 --- a/db/schema.yml +++ b/db/schema.yml @@ -5612,6 +5612,8 @@ persistent_volume_claims: - created_at - updated_at - container_project_id +- requests +- limits physical_servers: - id - ems_id