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

11 lines
190 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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