updated migrations.  added multiple primary keys and unique indices