Skip to content

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

Add optional title field to notebook cells (#48937)

Charis4587d177c33b
diff --git a/apps/studio/data/content/notebooks/notebook-schema.ts b/apps/studio/data/content/notebooks/notebook-schema.ts
index 3d554b8d5a8..ada1639c751 100644
--- a/apps/studio/data/content/notebooks/notebook-schema.ts
+++ b/apps/studio/data/content/notebooks/notebook-schema.ts
@@ -45,6 +45,7 @@ const markdownCellSchema = z.object({
const databaseCellSchema = z.object({
_tag: z.literal('database_cell'),
id: z.string(),
+ title: z.string().optional(),
sql: z.string(),
row_limit: z.number(),
chart: chartConfigSchema.optional(),
@@ -53,6 +54,7 @@ const databaseCellSchema = z.object({
const logCellSchema = z.object({
_tag: z.literal('log_cell'),
id: z.string(),
+ title: z.string().optional(),
sql: z.string(),
time_range: timeRangeSchema,
chart: chartConfigSchema.optional(),