2012-01-18 17:48:31 +00:00
|
|
|
class AddSettingsToSettingsNotifiers < ActiveRecord::Migration
|
|
|
|
def self.up
|
2014-01-21 04:51:49 +00:00
|
|
|
add_column :settings_notifiers, :new_comment_commit_owner, :boolean, default: true
|
|
|
|
add_column :settings_notifiers, :new_comment_commit_repo_owner, :boolean, default: true
|
|
|
|
add_column :settings_notifiers, :new_comment_commit_commentor, :boolean, default: true
|
2012-01-18 17:48:31 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :settings_notifiers, :new_comment_commit_owner
|
|
|
|
remove_column :settings_notifiers, :new_comment_commit_repo_owner
|
|
|
|
remove_column :settings_notifiers, :new_comment_commit_commentor
|
|
|
|
end
|
|
|
|
end
|