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

Add PostgreSQL schema functions #80

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open

Add PostgreSQL schema functions #80

wants to merge 1 commit into from

Conversation

jamarzka
Copy link

No description provided.

@elhigu
Copy link
Member

elhigu commented Jan 31, 2018

Hi, thanks for PR. Are these functions already implemented? Is there any related issues?

@jamarzka
Copy link
Author

jamarzka commented Feb 1, 2018

Yes these functions are already implemented for PostgreSQL:
https://github.com/tgriesser/knex/blob/master/src/dialects/postgres/schema/compiler.js#L67

No related issues that I'm aware of. This is the original PR when the schema support was added:
knex/knex#518

@elhigu
Copy link
Member

elhigu commented Feb 1, 2018

@jamarzka Thanks for the reference to PR.

I just looked into it and didn't see any tests for createSchemaIfNotExists, dropSchemaIfExists, createSchema, dropSchema so I'd rather not make them official features until there are some tests made written for them. These are so simple queries, that I'm fine with plain unit tests.

@github-actions github-actions bot force-pushed the gh-pages branch 9 times, most recently from 94167c1 to b1bc94d Compare July 18, 2023 07:22
@rluvaton
Copy link
Member

rluvaton commented Mar 2, 2024

The website repo has been moved inside the https://github.com/knex/knex repo. Please open a PR there instead: (the website will be under the docs folder)

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.

None yet

3 participants