Class: AddJavascriptToPosts

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/ecrire/db/migrate/20131221181640_add_javascript_to_posts.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
# File 'lib/ecrire/db/migrate/20131221181640_add_javascript_to_posts.rb', line 2

def change
  add_column :posts, :javascript, :text
end