diff options
author | Sebastian Klier <sebastian@sebastianklier.com> | 2016-02-28 10:26:52 +0300 |
---|---|---|
committer | Sebastian Klier <sebastian@sebastianklier.com> | 2016-04-20 03:25:40 +0300 |
commit | 54661d3d44a7d98ed52680b074b2caed7aa33676 (patch) | |
tree | b55ca87853bebdd44e8039b04f959a6d07f5213d /db/migrate | |
parent | 9617c274ab301e4d2401b2d9a179f40649259d3c (diff) |
add slack notifications for wiki pages
update changelog
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20160227120001_add_event_field_for_web_hook.rb | 5 | ||||
-rw-r--r-- | db/migrate/20160227120047_add_event_to_services.rb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20160227120001_add_event_field_for_web_hook.rb b/db/migrate/20160227120001_add_event_field_for_web_hook.rb new file mode 100644 index 00000000000..65f2a47bb3c --- /dev/null +++ b/db/migrate/20160227120001_add_event_field_for_web_hook.rb @@ -0,0 +1,5 @@ +class AddEventFieldForWebHook < ActiveRecord::Migration + def change + add_column :web_hooks, :wiki_page_events, :boolean, default: false, null: false + end +end diff --git a/db/migrate/20160227120047_add_event_to_services.rb b/db/migrate/20160227120047_add_event_to_services.rb new file mode 100644 index 00000000000..879f4b96b12 --- /dev/null +++ b/db/migrate/20160227120047_add_event_to_services.rb @@ -0,0 +1,5 @@ +class AddEventToServices < ActiveRecord::Migration + def change + add_column :services, :wiki_page_events, :boolean, :default => true + end +end |