rework schema initialization