Fix SQL files, enable indexing of pricelists