12345678910111213141516171819202122 |
- package ast
- type AlterTableType int
- const (
- AT_AddColumn AlterTableType = iota
- AT_AlterColumnType
- AT_DropColumn
- AT_DropNotNull
- AT_SetNotNull
- )
- type AlterTableCmd struct {
- Subtype AlterTableType
- Name *string
- Def *ColumnDef
- MissingOk bool
- }
- func (n *AlterTableCmd) Pos() int {
- return 0
- }
|