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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to migrate database in production? #100

Open
Barbapapazes opened this issue Apr 30, 2024 · 1 comment
Open

How to migrate database in production? #100

Barbapapazes opened this issue Apr 30, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Barbapapazes
Copy link
Contributor

Barbapapazes commented Apr 30, 2024

Hello ! 馃憢

In the documentation, you talked about the migration in development with 2 recipes page but there is nothing about migrations in production!

Could be great to know how an application using database must be published! Do you recommend to manually add SQL file in the Cloudflare UI or to use the Cloudflare CLI locally or in a custom CD? Thanks!

Copy link
Contributor

Atinux commented May 2, 2024

So far I actually apply the migration by running the development server with --remote so it automatically apply the migration when starting the server to the production or staging database.

You can also run the SQL query in your database dashboard or on Cloudlare UI as well.

Later I wish to be able to leverage Nitro Tasks with a UI to be able to run those in production with a button.

@Atinux Atinux changed the title Nothing about migration in production How to migrate database in production? May 2, 2024
@Atinux Atinux added the question Further information is requested label May 2, 2024 — with Volta.net
@Atinux Atinux transferred this issue from nuxt-hub/feedback May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants