summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130124175109_show_admin_auto_online_help.rb9
-rw-r--r--db/schema.rb2
2 files changed, 10 insertions, 1 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
diff --git a/db/schema.rb b/db/schema.rb
index 8258394..73a1454 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20130124125238) do
+ActiveRecord::Schema.define(:version => 20130124175109) do
create_table "access_authorizations", :force => true do |t|
t.string "access_authorizationable_type"