Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove kill_after_multiple_restarts column from apps table
[#88352892]
- Loading branch information
Showing
3 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
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
13 changes: 13 additions & 0 deletions
13
db/migrations/20150220010146_remove_kill_after_multiple_restarts_from_apps.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,13 @@ | ||
Sequel.migration do | ||
up do | ||
alter_table :apps do | ||
drop_column :kill_after_multiple_restarts | ||
end | ||
end | ||
|
||
down do | ||
alter_table :apps do | ||
add_column :kill_after_multiple_restarts, :boolean, default: false | ||
end | ||
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