Blog/content/posts/2024/sql/postgres-reset-serial.md

11 lines
190 B
Markdown
Raw Permalink Normal View History

2024-12-04 12:39:53 +03:00
---
title: "🗃️ Сброс значения Serial в PostgreSQL"
date: 2024-12-04T12:38:25+03:00
draft: false
tags: [tips, sql]
---
```sql
SELECT setval('cards_id_seq', 1, false);
```