diff --git a/content/posts/2024/sql/postgres-reset-serial.md b/content/posts/2024/sql/postgres-reset-serial.md new file mode 100644 index 0000000..ffaed8a --- /dev/null +++ b/content/posts/2024/sql/postgres-reset-serial.md @@ -0,0 +1,10 @@ +--- +title: "🗃️ Сброс значения Serial в PostgreSQL" +date: 2024-12-04T12:38:25+03:00 +draft: false +tags: [tips, sql] +--- + +```sql +SELECT setval('cards_id_seq', 1, false); +```