You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
613 B

  1. CREATE TABLE IF NOT EXISTS `filer_mapping` (
  2. `id` bigint(20) NOT NULL AUTO_INCREMENT,
  3. `uriPath` char(256) NOT NULL DEFAULT "" COMMENT 'http uriPath',
  4. `fid` char(36) NOT NULL DEFAULT "" COMMENT 'seaweedfs fid',
  5. `createTime` int(10) NOT NULL DEFAULT 0 COMMENT 'createdTime in unix timestamp',
  6. `updateTime` int(10) NOT NULL DEFAULT 0 COMMENT 'updatedTime in unix timestamp',
  7. `remark` varchar(20) NOT NULL DEFAULT "" COMMENT 'reserverd field',
  8. `status` tinyint(2) DEFAULT '1' COMMENT 'resource status',
  9. PRIMARY KEY (`id`),
  10. UNIQUE KEY `index_uriPath` (`uriPath`)
  11. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;