-- liquibase formatted sql
-- changeset derek:add_weighting_score
CREATE TABLE `bom_weighting_score` (
   `id` INT NOT NULL AUTO_INCREMENT,
   `version` INT NOT NULL DEFAULT '0',
   `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
   `createdBy` VARCHAR(30) NULL,
   `modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
   `modifiedBy` VARCHAR(30) NULL,
   `deleted` TINYINT(1) NOT NULL DEFAULT '0',
   `name` VARCHAR(255) NOT NULL,
   `range` INT(11) NOT NULL,
   `weighting` DECIMAL(14, 2) NOT NULL,
   PRIMARY KEY (id)
);