Design Postgres Tables

timescale/pg-aiguide/skills/design-postgres-tables

作者 timescale187be00d317a51210c132010d947f4546ffb5eefApache-2.0收錄於 2026年10月9日更新於 2026年10月9日

Use this skill for general PostgreSQL table design. **Trigger when user asks to:** - Design PostgreSQL tables, schemas, or data models when creating new tables and when modifying existing ones. - Choose data types, constraints, or indexes for PostgreSQL - Create user tables, order tables, reference tables, or JSONB schemas - Understand PostgreSQL best practices for normalization, constraints, or indexing - Design update-heavy, upsert-heavy, or OLTP-style tables **Keywords:** PostgreSQL schema, table design, data types, PRIMARY KEY, FOREIGN KEY, indexes, B-tree, GIN, JSONB, constraints, normalization, identity columns, partitioning, row-level security Comprehensive reference covering data types, indexing strategies, constraints, JSONB patterns, partitioning, and PostgreSQL-specific best practices.

  1. 187be00d317a51210c132010d947f4546ffb5eef目前提交 187be00發布於 2026年10月9日

來源與署名

來源:timescale/pg-aiguide位於skills/design-postgres-tables提交187be00

授權條款: Apache-2.0

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架