mirror of
https://github.com/ent/ent.git
synced 2026-05-28 09:49:08 +03:00
entc/gen: atlas:pos directive to views (#4400)
This commit is contained in:
@@ -793,7 +793,8 @@ func (g *Graph) Views() (views []*schema.Table, err error) {
|
||||
continue
|
||||
}
|
||||
view := schema.NewView(n.Table()).
|
||||
SetComment(n.sqlComment())
|
||||
SetComment(n.sqlComment()).
|
||||
SetPos(n.Pos())
|
||||
switch ant := n.EntSQL(); {
|
||||
case ant == nil:
|
||||
case ant.Skip:
|
||||
|
||||
Reference in New Issue
Block a user