结构体内 部分tag不生效 #1871

Closed
opened 2 months ago by strive · 2 comments
strive commented 2 months ago

image
数据库 mysql Xorm 版本 1.0.7 调用CreateTables(&struct{})创建数据库

还有就是单字段做区分大小写加BINARY tag也没法打到目的

![image](/attachments/7890edc3-b642-450d-858b-989777e09700) 数据库 mysql Xorm 版本 1.0.7 调用CreateTables(&struct{})创建数据库 还有就是单字段做区分大小写加BINARY tag也没法打到目的
Poster

tag 不支持 "charset utf8mb4 collate utf8mb4_bin"

tag 不支持 "charset utf8mb4 collate utf8mb4_bin"
lunny added the
kind/feature
label 2 months ago
Owner

CreateTable will not create unique indexes which only create table.
You could use Sync2 to automatically detect and create table and indexes.

`CreateTable` will not create unique indexes which only create table. You could use `Sync2` to automatically detect and create table and indexes.
lunny added
wait/feedback
and removed
kind/feature
labels 4 weeks ago
lunny closed this issue 7 days ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.