Sha256: 1d86f7935e70615e49e7ed4ee397df0711c559c9220704db7f19d31dd3e2325a

Contents?: true

Size: 119 Bytes

Versions: 4

Compression:

Stored size: 119 Bytes

Contents

class AddColumnsToPost < ActiveRecord::Migration
  def change
    add_column :posts, :user_id, :integer
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/db/migrate/20140922142755_add_columns_to_post.rb
carnival-0.1.2 test/carnival-sample-application/db/migrate/20140922142755_add_columns_to_post.rb
carnival-0.1.1 test/carnival-sample-application/db/migrate/20140922142755_add_columns_to_post.rb
carnival-0.1.0 test/carnival-sample-application/db/migrate/20140922142755_add_columns_to_post.rb