early setup database schema