Minimal Product Table Schema
CREATE TABLE product { id SERIAL PRIMARY KEY, data JSONB DEFAULT '{}', }
A syntax-highlighted SQL-style schema creates a product table with an auto-incrementing ID and a JSONB data field that defaults to an empty object. The joke is the deliberately minimal, flexible database design, useful as a reaction from developers discussing schemas or product data models.
code editor screenshot / скриншот редактора кодаSQL code / SQL-кодdatabase table / таблица базы данныхproduct table / таблица товаровprimary key / первичный ключserial ID / последовательный идентификаторJSONB field / поле JSONBempty object / пустой объектsyntax highlighting / подсветка синтаксисаcurly braces / фигурные скобки
- @gentoomemes / 16144 2025-02-21
- Type
- image
- Size
- 664×266 · 20.0 KiB
- Mood
- technical, understated
- Language
- en
- Added