提交 108fcbc6 编写于 作者: A Abdelkader Boudih

Merge pull request #19004 from danieldevries/fix-migration-fieldname-in-example

fix column name in migration example [ci skip]
......@@ -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
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册