Class: AddExcerptToPost
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddExcerptToPost
- Defined in:
- lib/ecrire/db/migrate/20131114205041_add_excerpt_to_post.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 |
# File 'lib/ecrire/db/migrate/20131114205041_add_excerpt_to_post.rb', line 2 def change add_column :posts, :excerpt, :string end |