Hi there again
I’m creating my mysql tables using migrations and I have noticed that
the t.timestamps line creates two columns named ‘created_at’ and
‘updated_at’ as datetime type but they allow null values.
How can I say to rails I want that these two columns are not null
(:null=>default doesn’t work).
Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 22.214.171.124)
Welcome to the jungle, we got fun and games
Guns n’ Roses