Skip to content
Browse files

changing things for postgres

  • Loading branch information...
1 parent 56988cc commit 5e2942997ba65061c5187ad72eaa287f3146ba38 Leon Gersing committed Jan 12, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 db/migrate/20110112225859_change_body_to_text.rb
View
9 db/migrate/20110112225859_change_body_to_text.rb
@@ -0,0 +1,9 @@
+class ChangeBodyToText < ActiveRecord::Migration
+ def self.up
+ change_column :presentations, :description, :text
+ end
+
+ def self.down
+ change_column :presentations, :description, :string
+ end
+end

0 comments on commit 5e29429

Please sign in to comment.
Something went wrong with that request. Please try again.