Skip to content

Commit

Permalink
Merge pull request #79 from zakiva/drop_component_statuses
Browse files Browse the repository at this point in the history
Drop Container Component Statuses
  • Loading branch information
Fryguy authored Oct 3, 2017
2 parents 6d11d07 + 03ac36d commit d687a42
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 d687a42

Please sign in to comment.