-- liquibase formatted sql
-- changeset cyril:create_printer

CREATE TABLE `printer`
(
    `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',
    `code`        VARCHAR(500) NULL,
    `name`        VARCHAR(500) NULL,
    `description` VARCHAR(500) NULL,
    `ip`          VARCHAR(30)  NULL,
    `port`        INT(10)      NULL,
    PRIMARY KEY (`id`)
);
