alter_enum_stmt.go 314 B

123456789101112131415161718
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type AlterEnumStmt struct {
  6. TypeName *ast.List
  7. OldVal *string
  8. NewVal *string
  9. NewValNeighbor *string
  10. NewValIsAfter bool
  11. SkipIfNewValExists bool
  12. }
  13. func (n *AlterEnumStmt) Pos() int {
  14. return 0
  15. }