mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
dialect/entsql: add support for table-options in annotation (#938)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user