summaryrefslogtreecommitdiff
path: root/db/migrate/20111212201847_create_fax_pages.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20111212201847_create_fax_pages.rb')
-rw-r--r--db/migrate/20111212201847_create_fax_pages.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20111212201847_create_fax_pages.rb b/db/migrate/20111212201847_create_fax_pages.rb
new file mode 100644
index 0000000..de8c708
--- /dev/null
+++ b/db/migrate/20111212201847_create_fax_pages.rb
@@ -0,0 +1,13 @@
+class CreateFaxPages < ActiveRecord::Migration
+ def self.up
+ create_table :fax_pages do |t|
+ t.string :page
+ t.integer :position
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :fax_pages
+ end
+end