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

@@ -34,6 +34,14 @@ type Annotation struct {
// }
//
Collation string `json:"collation,omitempty"`
// Options defines the additional table options. For example:
//
// entsql.Annotation{
// Options: "ENGINE = INNODB",
// }
//
Options string `json:"options,omitempty"`
}
// Name describes the annotation name.