summaryrefslogtreecommitdiff
path: root/db/migrate/20120513154359_create_gui_functions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120513154359_create_gui_functions.rb')
-rw-r--r--db/migrate/20120513154359_create_gui_functions.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20120513154359_create_gui_functions.rb b/db/migrate/20120513154359_create_gui_functions.rb
new file mode 100644
index 0000000..e1d814c
--- /dev/null
+++ b/db/migrate/20120513154359_create_gui_functions.rb
@@ -0,0 +1,14 @@
+class CreateGuiFunctions < ActiveRecord::Migration
+ def self.up
+ create_table :gui_functions do |t|
+ t.string :category
+ t.string :name
+ t.string :description
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :gui_functions
+ end
+end