Sha256: 0317a8e4a3a31d8ac767cf1e6a7c0acd5dcb5698d38a0b146e8f864e2baa8c8e
Contents?: true
Size: 187 Bytes
Versions: 4
Compression:
Stored size: 187 Bytes
Contents
class AddUserIdToBlogPosts < ActiveRecord::Migration def self.up add_column :blog_posts, :user_id, :integer end def self.down remove_column :blog_posts, :user_id end end
Version data entries
4 entries across 3 versions & 1 rubygems