diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-10 21:58:54 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-10 21:58:54 +0100 |
commit | 878412b12dd34004d37b8b79945786e506f8fa08 (patch) | |
tree | 23048e74ac7f0eecc9f99bea757be66de322aab8 /db/migrate | |
parent | c0dfdfce54b2e698580893d18ea101ecaab89aad (diff) | |
parent | 9f0034ff3c969c867258a90d1a9c6f76f392092a (diff) |
Merge branch 'refactor_tenant_view' into develop
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130110205056_add_number_of_shown_items_to_gs_parameter.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130110205056_add_number_of_shown_items_to_gs_parameter.rb b/db/migrate/20130110205056_add_number_of_shown_items_to_gs_parameter.rb new file mode 100644 index 0000000..72b477a --- /dev/null +++ b/db/migrate/20130110205056_add_number_of_shown_items_to_gs_parameter.rb @@ -0,0 +1,9 @@ +class AddNumberOfShownItemsToGsParameter < ActiveRecord::Migration + def up + GsParameter.create(:name => 'NUMBER_OF_SHOWN_ITEMS', :section => 'Views', :value => '10', :class_type => 'Integer') + end + + def down + GsParameter.where(:name => 'NUMBER_OF_SHOWN_ITEMS').destroy_all + end +end |