Skip to content

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

chore: specify correct types for example tables (#34720)

Han Qiaod49cfa3c81d1
diff --git a/apps/www/_blog/2025-04-03-declarative-schemas.mdx b/apps/www/_blog/2025-04-03-declarative-schemas.mdx
index b1ac07990ce..2bd13a0c326 100644
--- a/apps/www/_blog/2025-04-03-declarative-schemas.mdx
+++ b/apps/www/_blog/2025-04-03-declarative-schemas.mdx
@@ -32,11 +32,11 @@ Declarative schemas store the final desired state of the database in `.sql` file
```sql
create table "products" (
- "id" serial primary key,
- "name" text not null,
- "description" text,
- "price" numeric(10,2) not null,
- "created_at" timestamp default now()
+ id bigint generated by default as identity,
+ name text not null,
+ category text,
+ price numeric(10, 2) not null,
+ created_at timestamptz default now()
);
alter table "products"