I've got below command run on console
rails g migration payslips first_name:string last_name:string
But this just generates empty file like below
class Payslips < ActiveRecord::Migration def change endend
I cannot find the reason why. Is there something wrong with the console generate command?