The truncate method is does different things on different databases and depending if in a transation

Created on 9 March 2016, over 8 years ago
Updated 11 January 2024, 6 months ago

Problem/Motivation

MySQL will reset a table sequence if a table is truncated SQLite and postgres will not.

Proposed resolution

Make everything behave the same.

Remaining tasks

User interface changes

API changes

Data model changes

For the committer

Please give commit credit to danblack β†’ for his work on the closed duplicate issue β†’ .

πŸ› Bug report
Status

Closed: outdated

Version

9.5

Component
DatabaseΒ  β†’

Last updated about 6 hours ago

  • Maintained by
  • πŸ‡³πŸ‡±Netherlands @daffie
Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Since there hasn't been a follow up going to close for now.

    If still a valid bug please reopen updating issue summary.

    Thanks!

Production build 0.69.0 2024