summaryrefslogtreecommitdiff
path: root/db/migrate/20120105120126_create_gs_parameters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120105120126_create_gs_parameters.rb')
-rw-r--r--db/migrate/20120105120126_create_gs_parameters.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20120105120126_create_gs_parameters.rb b/db/migrate/20120105120126_create_gs_parameters.rb
new file mode 100644
index 0000000..b8b915b
--- /dev/null
+++ b/db/migrate/20120105120126_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