LDEV-4184: "outer-join" attribute in hbm.xml files is deprecated and produces warnings on server start up. Remove entries with "auto" value. Entries with value "true" become fetch=join.
LDEV-4180: Make DB patches produce up-to-date structure during build instead of applying multiple patches.Get rid of unnecessary tables and keys.Modify boolean columns to tinyint(1)Simplify patches where possible.