Sha256: a3f274318dca6905086a95ecc677819f5a0683c8a231a9b545b851fca04b82a0

Contents?: true

Size: 141 Bytes

Versions: 3

Compression:

Stored size: 141 Bytes

Contents

class AddAuthorToArticles < ActiveRecord::Migration
  def change
    add_column :chive_articles, :author_id, :integer, index: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chive-0.0.3 db/migrate/20161215020443_add_author_to_articles.rb
chive-0.0.2 db/migrate/20161215020443_add_author_to_articles.rb
chive-0.0.1 db/migrate/20161215020443_add_author_to_articles.rb