very strange behavior of script/generate ModelName field:type

After the typing the following in my terminal:

Forgot to tell you that I'm on Rails 2.0.2

Rails 2.0 puts timestamps in migrations by default, so you don't need
to specify created_at and updated_at fields.
The rest of it looks just fine.

- Martin

Thanks, Matin. I just looked it up in the PeepCode Rails 2 PDF. I just
changed to Rails 2.0.2 and the syntax of the migration surprised me.

One more question: how does one create a migration from the command
line? E.g. what do I have to type instead of the old
'user_id:integer', which is done now with 't.reference :user', or
't.belongs_to :user'

Thanks,

le colibri