autocreate database tables on startup