Skip to content

Commit

Permalink
fix: 🐛 调整 mysql markdown content 字段类型,解决文本超长bug
Browse files Browse the repository at this point in the history
  • Loading branch information
adams549659584 committed Aug 14, 2022
1 parent c10ec97 commit e1362e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
"CREATE TABLE IF NOT EXISTS `markdown` (" +
" `id` INT UNSIGNED NOT NULL AUTO_INCREMENT," +
" `key` VARCHAR(255) NOT NULL, " +
" `content` VARCHAR(255) NOT NULL," +
" `content` TEXT NOT NULL," +
" `create_time` DATETIME(3) NOT NULL," +
" PRIMARY KEY (`id`), " +
" UNIQUE KEY `key` (`key`)" +
Expand Down

0 comments on commit e1362e2

Please sign in to comment.