jet icon indicating copy to clipboard operation
jet copied to clipboard

Migration support ?

Open gedw99 opened this issue 1 year ago • 6 comments

Is there any migration support ?

gedw99 avatar Apr 26 '23 07:04 gedw99

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

go-jet avatar Apr 27 '23 15:04 go-jet

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 avatar Apr 30 '23 16:04 gedw99

Atlas would be my pick

gedw99 avatar Apr 30 '23 16:04 gedw99

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.

houten11 avatar May 02 '23 10:05 houten11

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

gedw99 avatar May 02 '23 10:05 gedw99

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

amanbolat avatar Sep 16 '23 12:09 amanbolat