Tuesday, March 18, 2008

MysqlUtils update

I added a quick little feature to the mysql_utils plugin:

create_table :messages do |t|
#some meaningful fields
t.userstamps
t.timestamps
end

t.userstamps will add created_by (integer) and updated_by (integer) fields to your table.

0 comments: