summaryrefslogtreecommitdiff
path: root/db/migrate/20130105120126_create_gs_parameters.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 23:05:53 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-05 23:05:53 +0100
commit80e7a0bb9846fc99d9b0631689bab0004fa37527 (patch)
tree3fcf6c3addf2961dd98e8b0033ac386e28925587 /db/migrate/20130105120126_create_gs_parameters.rb
parentddb3dfa92ec0878240211cb2b7a8e125961b1360 (diff)
Renamed migrations to the correct date.
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