Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/md/guides: automatic migration planning for beego #1843

Merged
merged 3 commits into from
Jul 11, 2023
Merged

Conversation

rotemtam
Copy link
Member

No description provided.


Install the provider by running:
```bash
go get -u ariga.io/atlas-provider-beego
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
go get -u ariga.io/atlas-provider-beego
go install ariga.io/atlas-provider-beego@latest

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think this is the right way for the standalone mode because the user will not depend on atlas-provider-beego in their code base. And usage of go run -mod will cause their go.sum/go.mod changes every time they run the atlas command.

Comment on lines +79 to +82
"go",
"run",
"-mod=mod",
"ariga.io/atlas-provider-beego",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we install the binary on the system, then we just need the program name to run.

Suggested change
"go",
"run",
"-mod=mod",
"ariga.io/atlas-provider-beego",
"atlas-provider-beego",

doc/md/guides/orms/beego.md Outdated Show resolved Hide resolved
```
See [atlasgo.io](https://atlasgo.io/getting-started#installation) for more installation options.

Install the provider by running:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Install the provider only needed if the user uses a standalone mode, right?

rotemtam and others added 2 commits July 10, 2023 16:22
Co-authored-by: Giau. Tran Minh <giau.tmg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants