Is there a way to create the db schema completely through the ruby syntax in a migration? If i want a relation between table there doesnt seem a way to create it when having the environment table set to :ruby instead of :sql and using migrations.
Thanks.