It doesn’t infer the columns to add from the migration name - you have to specify those . In your case that would be
rails generate migration AddOriginCreatorToTags origin_creator:string
Fred
It doesn’t infer the columns to add from the migration name - you have to specify those . In your case that would be
rails generate migration AddOriginCreatorToTags origin_creator:string
Fred
Thanks Fred, I forgot the
origin_creator:string
在 2012年8月21日星期二UTC+8上午2时49分34秒,Frederick Cheung写道: