-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14042 from lenovo/migration_phys_state
Migration: Add health_state and power_state columns to physical server
- Loading branch information
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
db/migrate/20170216132118_add_health_state_property_to_physical_server.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddHealthStatePropertyToPhysicalServer < ActiveRecord::Migration[5.0] | ||
def change | ||
add_column :physical_servers, :health_state, :string | ||
end | ||
end |
5 changes: 5 additions & 0 deletions
5
db/migrate/20170217184205_add_power_state_property_to_physical_server.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddPowerStatePropertyToPhysicalServer < ActiveRecord::Migration[5.0] | ||
def change | ||
add_column :physical_servers, :power_state, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters