summaryrefslogtreecommitdiff
path: root/tests/backends/oracle/test_operations.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-11/+13
|
* Fixed backends.oracle.test_operations.Mariusz Felisiak2020-04-211-1/+3
| | | | | | | Using unittest.TestCase doesn't work properly when we perform db queries. Moreover introspection is extremely slow on Oracle without limiting models to a "backends" app. Follow up to 8bcca47e8356521f52f0738d9633befd53007cae.
* Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵Jon Dufresne2020-04-171-24/+5
| | | | | | | | | | | | 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 Dufresne2020-04-171-0/+133
|
* Fixed #28596 -- Fixed QuerySet.bulk_create() and cascade deletion crash on ↵Mariusz Felisiak2017-10-051-0/+14
| | | | | Oracle when using more than 65535 parameters. Thanks Tim Graham for the review.
* Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.Kevin Grinberg2017-08-221-0/+11
Regression in 69b7d4b116e3b70b250c77829e11038d5d55c2a8.