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

Fix alterTable table name parsing #471

Merged
merged 2 commits into from
May 13, 2023

Conversation

hannesj
Copy link
Contributor

@hannesj hannesj commented May 9, 2023

Fixes #470

@vercel
Copy link

vercel bot commented May 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kysely ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 12, 2023 6:12pm

@koskimas
Copy link
Member

Thank you! The fix is correct, but the test fails because there's no pets schema or name table in it (nor should there be).

@hannesj
Copy link
Contributor Author

hannesj commented May 10, 2023

Yeah, noticed it. Had some issues yesterday with installing better-sqlite3, but got it working now, so had no chance of running the tests then. Everything should be green now.

@igalklebanov igalklebanov added bug Something isn't working postgres Related to PostgreSQL api Related to library's API labels May 10, 2023
@koskimas
Copy link
Member

The cleanup is not called and other tests fail now. Use before and after hooks inside your new describe block for creating and cleaning up the schema.

test/node/src/schema.test.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to library's API bug Something isn't working postgres Related to PostgreSQL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to specify PostgreSQL schema when calling schema.alterTable
3 participants