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

Development & Production Databases for Astro DB #12514

Open
1 task
zellwk opened this issue Nov 24, 2024 · 0 comments
Open
1 task

Development & Production Databases for Astro DB #12514

zellwk opened this issue Nov 24, 2024 · 0 comments
Labels
needs triage Issue needs to be triaged

Comments

@zellwk
Copy link

zellwk commented Nov 24, 2024

Astro Info

Astro                    v4.16.13
Node                     v22.11.0
System                   macOS (arm64)
Package Manager          npm
Output                   hybrid
Adapter                  @astrojs/node
Integrations             astro-expressive-code
                         astro:db
                         @astrojs/db/file-url
                         @astrojs/tailwind
                         @astrojs/svelte
                         @astrojs/mdx
                         @astrojs/sitemap

If this issue only occurs in one browser, which browser is a problem?

NA

Describe the Bug

Not a bug, more of a feature.

I propose allowing users to add development & production databases in .env.development or .env.production. By doing so, we can test against race conditions that may not be present on a local environment.

Right now, astro db push --remote gets the ASTRO_DB_URL from .env only.

What's the expected result?

Allow astro db push --remote to read from .env.development and .env.production.

Link to Minimal Reproducible Example

NA

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant