summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 12:16:56 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 12:16:56 +0100
commit69b5f3dcbeb0ddd4d28c516042a1c23117ffdae5 (patch)
treee6ec723db8fdb7f19266837aa840cece8993adc9 /db/migrate
parentee6b680da282d9fe4d630ba27d9f9c646eed24dc (diff)
parent52589919782d938a0ae007439a8d1a17a1056838 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20130122121100_add_gemeinschaft_buildname_to_gs_parameter.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130122121100_add_gemeinschaft_buildname_to_gs_parameter.rb b/db/migrate/20130122121100_add_gemeinschaft_buildname_to_gs_parameter.rb
new file mode 100644
index 0000000..d4cd660
--- /dev/null
+++ b/db/migrate/20130122121100_add_gemeinschaft_buildname_to_gs_parameter.rb
@@ -0,0 +1,9 @@
+class AddGemeinschaftBuildnameToGsParameter < ActiveRecord::Migration
+ def up
+ GsParameter.create(:name => 'GEMEINSCHAFT_BUILDNAME', :section => 'Generic', :value => '', :class_type => 'String')
+ end
+
+ def down
+ GsParameter.where(:name => 'GEMEINSCHAFT_BUILDNAME').destroy_all
+ end
+end