-- liquibase formatted sql
-- changeset cyril:item category

CREATE TABLE `item_category`
(
    `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',
    `name`       VARCHAR(50) NOT NULL,
    CONSTRAINT pk_item_category PRIMARY KEY (id)
);