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

Provide a SQL script as release artifact #52

Open
steve-chavez opened this issue Oct 18, 2024 · 1 comment
Open

Provide a SQL script as release artifact #52

steve-chavez opened this issue Oct 18, 2024 · 1 comment
Labels

Comments

@steve-chavez
Copy link
Member

Problem

While we're a pg extension, doing make && sudo make install is still more cumbersome than running a SQL script (psql -f script.sql).

Solution

Include a single SQL file as a release artifact. Newer versions can have a single script plus an upgrade script too (like postgrest-openapi--0.1.0--0.1.1.sql).

@steve-chavez
Copy link
Member Author

plus an upgrade script too (like postgrest-openapi--0.1.0--0.1.1.sql).

Since we're only functions, maybe we can omit this and just drop and recreate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant