Extension in Public
Level: WARN
Rationale
Entities like tables and functions in the public
schema are exposed through Supabase APIs by default. When extensions are installed in the public
schema, the functions, tables, views, etc that they contain appear to be part of your project's API.
How to Resolve
To relocate an extension from the public
schema to another schema, execute:
1 |
|
Example
If the ltree
extension was initially created in thh public
schema with
1 |
|
1 |
|
You can relocate its components to the extensions
schema by running
1 |
|