Set up databases and migrations.