Skip to content

Commit

Permalink
Drop Container Component Statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
zakiva committed Sep 27, 2017
1 parent 51001e8 commit 03ac36d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
16 changes: 16 additions & 0 deletions db/migrate/20170927114802_drop_container_component_statuses.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class DropContainerComponentStatuses < ActiveRecord::Migration[5.0]
def up
drop_table :container_component_statuses
end

def down
create_table :container_component_statuses do |t|
t.belongs_to :ems, :type => :bigint
t.string :name
t.string :condition
t.string :status
t.string :message
t.string :error
end
end
end
8 changes: 0 additions & 8 deletions db/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -640,14 +640,6 @@ container_builds:
- container_project_id
- ems_id
- created_on
container_component_statuses:
- id
- ems_id
- name
- condition
- status
- message
- error
container_conditions:
- id
- container_entity_id
Expand Down

0 comments on commit 03ac36d

Please sign in to comment.