Skip to content

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

Standardize primary key on integer

Terry Sutton2ef199e2977d
diff --git a/packages/ui/src/components/Command/GenerateSQL.tsx b/packages/ui/src/components/Command/GenerateSQL.tsx
index aba3c155b9b..964bc10bade 100644
--- a/packages/ui/src/components/Command/GenerateSQL.tsx
+++ b/packages/ui/src/components/Command/GenerateSQL.tsx
@@ -188,7 +188,7 @@ const GenerateSQL = () => {
// [Joshen] Eventually we need to pass the table data in here as well
const queryToSend = `
-Generate a Postgres SQL query based on the following natural language prompt:
+Generate a Postgres SQL query based on the following natural language prompt. For primary keys, always use "integer primary key generated always as identity":
${query}
Postgres SQL query: