diff --git a/db/migrate/20171026142653_create_container_quota_scopes.rb b/db/migrate/20171026142653_create_container_quota_scopes.rb new file mode 100644 index 000000000..b80b9f811 --- /dev/null +++ b/db/migrate/20171026142653_create_container_quota_scopes.rb @@ -0,0 +1,10 @@ +class CreateContainerQuotaScopes < ActiveRecord::Migration[5.0] + def change + create_table :container_quota_scopes do |t| + t.bigint :container_quota_id + t.string :scope + t.timestamps + t.datetime :deleted_on + end + end +end diff --git a/db/schema.yml b/db/schema.yml index f01756ef2..7d759209e 100644 --- a/db/schema.yml +++ b/db/schema.yml @@ -809,6 +809,13 @@ container_quota_items: - created_at - updated_at - deleted_on +container_quota_scopes: +- id +- container_quota_id +- scope +- created_at +- updated_at +- deleted_on container_quotas: - id - name