How do  I specify Default DB values;

ie: I have a db field created_at which is datetime and should be a timestamp of when the user was created.

Normally in mysql; we use "created_at timestamp default now()"
where do I specify this default value? Or do I specify it when I create the object?


Thanks.

Reply via email to