dialect/entsql: add support for table-options in annotation (#938)

This commit is contained in:
Daven
2020-11-10 12:40:56 -06:00
committed by GitHub
parent 7574923d91
commit 534dbbe590
3 changed files with 13 additions and 1 deletions

View File

@@ -183,6 +183,9 @@ func (d *MySQL) tBuilder(t *Table) *sql.TableBuilder {
if collate := t.Annotation.Collation; collate != "" {
b.Collate(collate)
}
if opts := t.Annotation.Options; opts != "" {
b.Options(opts)
}
}
return b
}