go-jet / jet

Type safe SQL builder with code generation and automatic query result data mapping
Apache License 2.0
2.52k stars 118 forks source link

Migration support ? #231

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

Is there any migration support ?

go-jet commented 1 year ago

There is no migration support, because there are already a tone of good database migration tools like goose, go-migrate, etc...

gedw99 commented 1 year ago

Yep I know all those .

better to pick on and integrate perhaps. Or at least an example to show how to use one with jet

gedw99 commented 1 year ago

Atlas would be my pick

houten11 commented 1 year ago

Why pick only one? Different people have different preferences. Haven't used Atlas, but on first look, it seems that it tries to create a new DDL. Thus it makes the same mistake as ORMs, when they try to create a new language for DML. So Atlas definitely wouldn't be my pick.

gedw99 commented 1 year ago

thanks @houten11 for your atlas review. i did not think of that. they just add more abstraction layer for nothing.

amanbolat commented 1 year ago

In my opinion, go-jet is mainly a tool for building SQL queries, and migration should not be seen as one of its features.