PostgREST / postgrest-openapi

OpenAPI output generated in SQL for a PostgREST instance
MIT License
20 stars 4 forks source link

Provide a SQL script as release artifact #52

Open steve-chavez opened 1 month ago

steve-chavez commented 1 month ago

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 commented 1 month ago

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.