I decided to just test the new feature in edge (and soon to be in Rails
2.1) where migrations are created using a UTC timestamp instead of a
number.
In a test project, where I’ve done a rake rails:freeze:edge, I did:
ruby script/generate migration AddCourse title:string
and it created a migration file: db/migrate/20080402130730_add_course.rb
but all it contains is:
class AddCourse < ActiveRecord::Migration
def self.up
end
def self.down
end
end
It doesn’t seem to want to automatically add the bits about creating the
table and adding the columns.
Am I doing something wrong? I did a quick search through the Rails Trac,
but didn’t see anything.
Thanks,
jt