Added foreign keys to schema

Is this even a good idea? I like to reference entries in my posts table to users, but I'm not sure if this is really necessary in the migrations.

I tested it under MySQL and SQLite.