summaryrefslogtreecommitdiff
path: root/db/migrate/20130124175109_show_admin_auto_online_help.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-24 23:03:30 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-24 23:03:30 +0100
commit654aeff46c957de4177435b8becd8c8637e4fe6a (patch)
tree5c40b121c588154fff682e824b42a42ff5813874 /db/migrate/20130124175109_show_admin_auto_online_help.rb
parentfed98f1002ab5c874f55e7a3730f9b5ca2555ec3 (diff)
parentc09553494684447245238cbc2874ce65d4aaecee (diff)
Merge branch 'sip_account_docu' into develop
Diffstat (limited to 'db/migrate/20130124175109_show_admin_auto_online_help.rb')
-rw-r--r--db/migrate/20130124175109_show_admin_auto_online_help.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130124175109_show_admin_auto_online_help.rb b/db/migrate/20130124175109_show_admin_auto_online_help.rb
new file mode 100644
index 0000000..9c3f733
--- /dev/null
+++ b/db/migrate/20130124175109_show_admin_auto_online_help.rb
@@ -0,0 +1,9 @@
+class ShowAdminAutoOnlineHelp < ActiveRecord::Migration
+ def up
+ GsParameter.create(:name => 'AUTO_ADMIN_ONLINE_HELP', :section => 'Documentation', :value => 'true', :class_type => 'Boolean', :description => 'Gemeinschaft will include tips and help whenever it seems fit.')
+ end
+
+ def down
+ GsParameter.where(:name => 'AUTO_ADMIN_ONLINE_HELP').destroy_all
+ end
+end