summaryrefslogtreecommitdiff
path: root/db/migrate/20130105120126_create_gs_parameters.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 21:00:52 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 21:00:52 +0100
commite76890d5f4634d47514a592d501d9792ae2ff7bb (patch)
tree0d257877fa5e5ba295affefd8fe76d3d3954996e /db/migrate/20130105120126_create_gs_parameters.rb
parent4b8dfcded36e1162346ee029d4bfc9c94323bdde (diff)
Different scaffold for GsParameter.
Diffstat (limited to 'db/migrate/20130105120126_create_gs_parameters.rb')
-rw-r--r--db/migrate/20130105120126_create_gs_parameters.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20130105120126_create_gs_parameters.rb b/db/migrate/20130105120126_create_gs_parameters.rb
new file mode 100644
index 0000000..b8b915b
--- /dev/null
+++ b/db/migrate/20130105120126_create_gs_parameters.rb
@@ -0,0 +1,16 @@
+class CreateGsParameters < ActiveRecord::Migration
+ def self.up
+ create_table :gs_parameters do |t|
+ t.string :name
+ t.string :section
+ t.text :value
+ t.string :class_type
+ t.string :description
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :gs_parameters
+ end
+end