--liquibase formatted sql

--changeset fai:create coffee_or_tea table
CREATE TABLE `coffee_or_tea`
(
    `id`         INT          NOT NULL AUTO_INCREMENT,
    `created`    DATETIME     NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `createdBy`  VARCHAR(30)  NULL     DEFAULT NULL,
    `version`    INT          NOT NULL DEFAULT '0',
    `modified`   DATETIME     NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `modifiedBy` VARCHAR(30)  NULL     DEFAULT NULL,
    `deleted`    TINYINT(1)   NOT NULL DEFAULT '0',
    `itemCode`   VARCHAR(100) NULL,
    `systemType` VARCHAR(100) NULL,
    CONSTRAINT pk_coffee_or_tea PRIMARY KEY (id),
    INDEX idx_coffee_or_tea_itemCode (itemCode)
);
