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

Move index.ts to src/db directory to align with docs #460

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

Conversation

pejeio
Copy link

@pejeio pejeio commented Dec 13, 2024

This PR restructures the project to move the index.ts file from src/ to src/db. This change aligns with the documentation, which states:

Create an index.ts file in the src/db directory and initialize the connection.

Reference: https://orm.drizzle.team/docs/get-started/postgresql-new#:~:text=Create%20a%20schema.ts%20file%20in%20the%20src/db%20directory%20and%20declare%20your%20table%3A

This change aligns with the documentation, which states:
"Create an index.ts file in the src/db directory and initialize the connection."
@celeron450
Copy link

See also #487. There are other steps besides the file structure that reference src/index.ts.

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.

2 participants