()
| 35 | } |
| 36 | |
| 37 | func (m *Migration) FindFirst() (*Migration, error) { |
| 38 | o := orm.NewOrm() |
| 39 | |
| 40 | err := o.QueryTable(m.TableNameWithPrefix()).OrderBy("-migration_id").One(m) |
| 41 | |
| 42 | return m, err |
| 43 | } |
nothing calls this directly
no test coverage detected