Fix DB scheme