recreates schema