-- ----------------------------
-- Table structure for FILE - 文件
-- Target   : SQLite
-- Author   : wangbing
-- Date:    : 2019-12-17
-- ----------------------------
CREATE TABLE IF NOT EXISTS SYS_FILE (
    "ID" BIGINT PRIMARY KEY NOT NULL,
    "NAME" VARCHAR(250),
    "FILE_TYPE" VARCHAR(20),
    "ATTRIBUTE1" VARCHAR(50),
    "ATTRIBUTE2" VARCHAR(50),
    "LOCATION" VARCHAR(500),
    "URL" VARCHAR(500),
    "URL_DOWNLOAD" VARCHAR(500),
    "ROW_VERSION" BIGINT NOT NULL,
    "IS_DELETED" BOOLEAN NOT NULL,
    "CREATE_BY" BIGINT NOT NULL,
    "CREATE_TIME" DATETIME NOT NULL,
    "LAST_UPDATE_BY" BIGINT,
    "LAST_UPDATE_TIME" DATETIME
);
