Skip to content

Commit

Permalink
Merge pull request #19004 from danieldevries/fix-migration-fieldname-…
Browse files Browse the repository at this point in the history
…in-example

fix column name in migration example [ci skip]
  • Loading branch information
seuros committed Feb 19, 2015
2 parents 0b09261 + 5d463bd commit 108fcbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def initialize
# This will generate the file <tt>timestamp_add_fieldname_to_tablename</tt>, which will look like this:
# class AddFieldnameToTablename < ActiveRecord::Migration
# def change
# add_column :tablenames, :field, :string
# add_column :tablenames, :fieldname, :string
# end
# end
#
Expand Down

0 comments on commit 108fcbc

Please sign in to comment.