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

Run database migration on server startup independently #125

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shivam-sharma7
Copy link
Member

Run migration on server startup independently

fixes: #111

@shivam-sharma7 shivam-sharma7 changed the title Run migration on server startup independently Run database migration on server startup independently Sep 9, 2024
server/db/migration.ts Outdated Show resolved Hide resolved
@rjsamra
Copy link
Collaborator

rjsamra commented Nov 11, 2024

Can you try this out in prod? Run yarn build and then yarn preview. And see if migrations work. Reason is, those files might not be present in production build.

@shivam-sharma7
Copy link
Member Author

Can you try this out in prod? Run yarn build and then yarn preview. And see if migrations work. Reason is, those files might not be present in production build.

yes, i can't see in production but i developed with docker compose and it is working in docker compose

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.

Run migration on server startup independently.
3 participants