uptrace / bun

SQL-first Golang ORM

Home Page:https://bun.uptrace.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go migrations are not discovered

rrnair-98 opened this issue · comments

First things first great ORM. Thanks for making it.
I just had a question as to why go based migrations are not part of the discovery process.
Specifically Im asking about this line of code present on line 89 of the file migrate/migrations.go

!strings.HasSuffix(path, ".up.sql") && !strings.HasSuffix(path, ".down.sql")