Merge pull request #448 from vancepym/patch-1
Fix: the maximum-length character exceed 255
This commit is contained in:
@@ -184,7 +184,7 @@ func (s *MySqlStore) Close() {
|
|||||||
var createTable = `
|
var createTable = `
|
||||||
CREATE TABLE IF NOT EXISTS %s (
|
CREATE TABLE IF NOT EXISTS %s (
|
||||||
id bigint(20) NOT NULL AUTO_INCREMENT,
|
id bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
uriPath char(256) NOT NULL DEFAULT "" COMMENT 'http uriPath',
|
uriPath char(255) NOT NULL DEFAULT "" COMMENT 'http uriPath',
|
||||||
fid char(36) NOT NULL DEFAULT "" COMMENT 'seaweedfs fid',
|
fid char(36) NOT NULL DEFAULT "" COMMENT 'seaweedfs fid',
|
||||||
createTime int(10) NOT NULL DEFAULT 0 COMMENT 'createdTime in unix timestamp',
|
createTime int(10) NOT NULL DEFAULT 0 COMMENT 'createdTime in unix timestamp',
|
||||||
updateTime int(10) NOT NULL DEFAULT 0 COMMENT 'updatedTime in unix timestamp',
|
updateTime int(10) NOT NULL DEFAULT 0 COMMENT 'updatedTime in unix timestamp',
|
||||||
|
|||||||
Reference in New Issue
Block a user