Class: AddJavascriptToPosts
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddJavascriptToPosts
- Defined in:
- lib/ecrire/db/migrate/20131221181640_add_javascript_to_posts.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 |
# File 'lib/ecrire/db/migrate/20131221181640_add_javascript_to_posts.rb', line 2 def change add_column :posts, :javascript, :text end |