feat(Supabase Node): Add support for database schema (#13339)

Co-authored-by: Dana <152518854+dana-gill@users.noreply.github.com>
Co-authored-by: Dana Lee <dana@n8n.io>
This commit is contained in:
Ria Scholz
2025-04-14 17:56:07 +02:00
committed by GitHub
parent de03452631
commit 23f25cefbf
4 changed files with 141 additions and 8 deletions

View File

@@ -51,6 +51,24 @@ export class Supabase implements INodeType {
},
],
properties: [
{
displayName: 'Use Custom Schema',
name: 'useCustomSchema',
type: 'boolean',
default: false,
noDataExpression: true,
description:
'Whether to use a database schema different from the default "public" schema (requires schema exposure in the <a href="https://supabase.com/docs/guides/api/using-custom-schemas?queryGroups=language&language=curl#exposing-custom-schemas">Supabase API</a>)',
},
{
displayName: 'Schema',
name: 'schema',
type: 'string',
default: 'public',
description: 'Name of database schema to use for table',
noDataExpression: false,
displayOptions: { show: { useCustomSchema: [true] } },
},
{
displayName: 'Resource',
name: 'resource',