gf icon indicating copy to clipboard operation
gf copied to clipboard

AutoMigrate

Open HHC26 opened this issue 1 year ago • 2 comments

Description

The AutoMigration feature is quite practical, Please consider adding it

Additional

No response

HHC26 avatar Sep 11 '24 07:09 HHC26

Sorry but I do not think it a good feature and will not be considered

gqcn commented on Oct 14, 2020

related issue #943 #475 #779

wufeng5702 avatar Sep 11 '24 12:09 wufeng5702

Migration like Laravel may not be a good idea since it may make database schema unmaintainable (especially some old project with lots of s**t). But indeed migration is helpful in some cases for developers, so I think it is quite a dilemma for GoFrame to choose whether to add this function since both case has its own reasons. Besides, there already exists many migration tools write in go like goose or atlas. Goose is more like Laravel one and Atlas is more powerful but may charge for some advanced features, you may also find you own migration tools for your requirement.

UncleChair avatar Sep 13 '24 02:09 UncleChair