Initialize database tables.