Idempotent database schema initialization