salix/db/changes/10380-allsaints/00-defaultViewConfig.sql

13 lines
579 B
SQL

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
('itemIndex', '{"intrastat":false,"density":false,"stemMultiplier":false,"active":false}'),
('latestBuys', '{"intrastat":false,"description":false,"density":false,"isActive":false,"freightValue":false,"packageValue":false,"isIgnored":false,"price2":false,"minPrice":false,"ektFk":false,"weight":false,"packageFk":false,"packingOut":false}');