Sha256: 12b673d4a21d07bfb9b7b69c954d29928d4330a7a387a2c3a1790f286da4d438

Contents?: true

Size: 158 Bytes

Versions: 1

Compression:

Stored size: 158 Bytes

Contents

class AddStiToPostsAndComments < ActiveRecord::Migration
  def change
    add_column :posts, :type, :string
    add_column :comments, :type, :string
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cache_cow-0.0.1 spec/dummy/db/migrate/20111026222959_add_sti_to_posts_and_comments.rb