refinerycms-blog/db/migrate/20110803223523_add_user_id_to_blog_posts.rb
Jamie Winsor 21b19db5a3 refactor engine testing scenario
Engine is now tested standalone by leveraging a dummy rails app
Enable Guard for speedy testing
Move factories to the more standard location `spec/factories/*`
Update README with a Testing section
Rename migrations to contain datetimestamps for their version to fix migration order issues when migrating the dummy application
2011-08-03 18:01:32 -07:00

7 lines
No EOL
142 B
Ruby

class AddUserIdToBlogPosts < ActiveRecord::Migration
def change
add_column Refinery::BlogPost.table_name, :user_id, :integer
end
end