From e81fd63523cf3c37dfd88e275fab06155d572a35 Mon Sep 17 00:00:00 2001 From: Billy Sutomo Date: Thu, 17 Oct 2024 23:38:05 +0700 Subject: [PATCH] omit columns from /tables --- src/server/routes/tables.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/routes/tables.ts b/src/server/routes/tables.ts index 2efd3d05..40d8d5f2 100644 --- a/src/server/routes/tables.ts +++ b/src/server/routes/tables.ts @@ -24,7 +24,7 @@ const route: FastifyPluginAsyncTypebox = async (fastify) => { excluded_schemas: Type.Optional(Type.String()), limit: Type.Optional(Type.Integer()), offset: Type.Optional(Type.Integer()), - include_columns: Type.Optional(Type.Boolean()), + include_columns: Type.Optional(Type.Boolean({ default: false })), }), response: { 200: Type.Array(postgresTableSchema),