私は次のようなコマンドを使用します:
administrator@ubuntu:~/demo$ rails generate migration Testabc test123:string
と端末が応答します:
invoke active_record
create db/migrate/20120204124219_testabc.rb
しかし、ファイルの内容は次のとおりです。
class Testabc < ActiveRecord::Migration
def up
end
def down
end
end
それで、私のテーブルと文字列列はどこにありますか?