database configration; schema and migration