CREATE TABLE `salix`.`defaultViewConfig`
(
	tableCode VARCHAR(25) not null,
	columns JSON not null
)
comment 'The default configuration of columns for views';

INSERT INTO `salix`.`defaultViewConfig` (tableCode, columns)
	VALUES 
		('itemsIndex', '{"intrastat":false,"stemMultiplier":false}'),
		('latestBuys', '{"intrastat":false,"description":false,"density":false,"isActive":false,"freightValue":false,"packageValue":false,"isIgnored":false,"price2":false,"minPrice":false,"ektFk":false,"weight":false}');

		