Which bit don't you know how to do? Run sql directly from Rails or don't you know the sql to create a table?
Colin