upgrade_eligibility
Creates, updates, deletes, gets or lists a upgrade_eligibility resource.
Overview​
| Name | upgrade_eligibility |
| Type | Resource |
| Id | supabase.projects.upgrade_eligibility |
Fields​
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
current_app_version | string | |
current_app_version_release_channel | string | (internal, alpha, beta, ga, withdrawn, preview) |
duration_estimate_hours | number | |
eligible | boolean | |
latest_app_version | string | |
legacy_auth_custom_roles | array | |
objects_to_be_dropped | array | Use validation_errors instead. |
target_upgrade_versions | array | |
unsupported_extensions | array | Use validation_errors instead. |
user_defined_objects_in_internal_schemas | array | Use validation_errors instead. |
validation_errors | array | |
warnings | array |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | ref |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
ref | string | Supabase project reference (the Project ID shown in the dashboard under Settings -> General; 20 lowercase letters). Resolved from the SUPABASE_PROJECT_ID environment variable when it is set (x-stackQL-envVar); otherwise it must be supplied on every project-scoped query as WHERE ref = '<ref>'. A WHERE value always takes precedence over the environment. (x-stackQL-envVar: SUPABASE_PROJECT_ID) |
SELECT examples​
- get
No description available.
SELECT
current_app_version,
current_app_version_release_channel,
duration_estimate_hours,
eligible,
latest_app_version,
legacy_auth_custom_roles,
objects_to_be_dropped,
target_upgrade_versions,
unsupported_extensions,
user_defined_objects_in_internal_schemas,
validation_errors,
warnings
FROM supabase.projects.upgrade_eligibility
WHERE ref = '{{ ref }}' -- required unless SUPABASE_PROJECT_ID is set
;