LDEV-5058 Allow tool adding both on fresh build and afterwardsAs a column got removed from a LAMS core table, we need to make surethat all scenarios work well: an upgrade from previous version, a freshbuild and adding extra tools afterwards.
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.