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

pg_tests GitHub action failing with "ERROR: function pgtle.install_extension_version_sql does not exist" #46

Closed
tconroy opened this issue Sep 4, 2023 · 1 comment

Comments

@tconroy
Copy link

tconroy commented Sep 4, 2023

Hello!

I am running a fresh copy of basejump, trying to get Github Actions working for a full CI/CD flow.

Currently I am experiencing this error with the pg_tests Supabase start command:

Starting database...
Starting containers...
Setting up Edge Functions runtime...
Setting up local schema...
Applying migration 00000000000000_dbdev_temp_install.sql...
Error: ERROR: function pgtle.install_extension_version_sql(text, text, text) does not exist (SQLSTATE 42883)
At statement 7: drop extension if exists "supabase-dbdev"
Try rerunning the command with --debug to troubleshoot the error.
Error: Process completed with exit code 1.

It seems there is a function (pgtle.install_extension_version_sql) that doesn't exist.

One thing worth noting, my local supabase CLI is v1.88.0, whereas it looks like this action is hardcoded to an older 1.5 version. Going to try and upgrade the action to see if that helps, but figure I would ask here too.

@tconroy tconroy changed the title pg_tests GitHub action failing with "" pg_tests GitHub action failing with "ERROR: function pgtle.install_extension_version_sql does not exist" Sep 4, 2023
@tconroy
Copy link
Author

tconroy commented Sep 4, 2023

Disregard. Updated the supabase CLI version in the action file and it's working as expected now!

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

No branches or pull requests

1 participant