[Django] #31479: Add support to reset sequences on SQLite

10 views
Skip to first unread message

Django

unread,
Apr 18, 2020, 12:43:37 PM4/18/20
to django-...@googlegroups.com
#31479: Add support to reset sequences on SQLite
-------------------------------------+-------------------------------------
Reporter: Jon | Owner: nobody
Dufresne |
Type: New | Status: new
feature |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Can use the internal `sqlite_sequence` table:

https://sqlite.org/fileformat2.html#seqtab

--
Ticket URL: <https://code.djangoproject.com/ticket/31479>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 18, 2020, 12:45:20 PM4/18/20
to django-...@googlegroups.com
#31479: Add support to reset sequences on SQLite
-------------------------------------+-------------------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jon Dufresne):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/12748

--
Ticket URL: <https://code.djangoproject.com/ticket/31479#comment:1>

Django

unread,
Apr 18, 2020, 4:10:06 PM4/18/20
to django-...@googlegroups.com
#31479: Add support to reset sequences on SQLite
-------------------------------------+-------------------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/31479#comment:2>

Django

unread,
Apr 21, 2020, 5:50:07 AM4/21/20
to django-...@googlegroups.com
#31479: Add support to reset sequences on SQLite
-------------------------------------+-------------------------------------
Reporter: Jon Dufresne | Owner: nobody
Type: New feature | Status: closed

Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"75866b93cc285c87cfc764a32d081493b19c1dc5" 75866b9]:
{{{
#!CommitTicketReference repository=""
revision="75866b93cc285c87cfc764a32d081493b19c1dc5"
Fixed #31479 -- Added support to reset sequences on SQLite.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31479#comment:3>

Reply all
Reply to author
Forward
0 new messages