Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -9/+9 |
| | |||||
* | Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵ | Jon Dufresne | 2020-04-17 | 1 | -31/+16 |
| | | | | | | | | | | | | PostgreSQL. The sql_flush() positional argument sequences is replaced by the boolean keyword-only argument reset_sequences. This ensures that the old function signature can't be used by mistake when upgrading Django. When the new argument is True, the sequences of the truncated tables will reset. Using a single boolean value, rather than a list, allows making a binary yes/no choice as to whether to reset all sequences rather than a working on a completely different set. | ||||
* | Added test coverage for DatabaseOperations.sql_flush(). | Jon Dufresne | 2020-04-17 | 1 | -0/+62 |