Skip to content

Commit

Permalink
Merge pull request #111 from cben/quota-scopes
Browse files Browse the repository at this point in the history
Create container_quota_scopes table
  • Loading branch information
Fryguy authored Oct 27, 2017
2 parents 42aa87a + c8f0a5b commit 3320f19
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions db/migrate/20171026142653_create_container_quota_scopes.rb
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions db/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3320f19

Please sign in to comment.