Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix stripe wrapper not providing row id column for tables that can be updated (#22127)

Joshen Lim89f97fb9582e
diff --git a/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts b/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts
index cb67d097fb9..0747929f964 100644
--- a/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts
+++ b/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts
@@ -219,6 +219,14 @@ export const WRAPPERS: WrapperMeta[] = [
required: true,
type: 'text',
},
+ {
+ name: 'rowid_column',
+ label: 'Row ID Column',
+ defaultValue: 'id',
+ editable: true,
+ required: true,
+ type: 'text',
+ },
],
},
{
@@ -360,6 +368,14 @@ export const WRAPPERS: WrapperMeta[] = [
required: true,
type: 'text',
},
+ {
+ name: 'rowid_column',
+ label: 'Row ID Column',
+ defaultValue: 'id',
+ editable: true,
+ required: true,
+ type: 'text',
+ },
],
},
{
@@ -399,6 +415,14 @@ export const WRAPPERS: WrapperMeta[] = [
required: true,
type: 'text',
},
+ {
+ name: 'rowid_column',
+ label: 'Row ID Column',
+ defaultValue: 'id',
+ editable: true,
+ required: true,
+ type: 'text',
+ },
],
},
],