Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-django-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-django-backend
Commits
0e7222d3
Unverified
Commit
0e7222d3
authored
Aug 13, 2020
by
nesdis
Committed by
GitHub
Aug 13, 2020
Browse files
Options
Downloads
Plain Diff
Merge pull request #451 from jourdanrodrigues/patch-1
Adjust API for `sql_flush`
parents
34d83438
dd25033d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
djongo/operations.py
+2
-2
2 additions, 2 deletions
djongo/operations.py
with
2 additions
and
2 deletions
djongo/operations.py
+
2
−
2
View file @
0e7222d3
...
...
@@ -90,7 +90,7 @@ class DatabaseOperations(BaseDatabaseOperations):
converters
.
append
(
self
.
convert_datetimefield_value
)
return
converters
def
sql_flush
(
self
,
style
,
tables
,
sequences
,
allow_cascade
=
False
):
def
sql_flush
(
self
,
style
,
tables
,
reset_
sequences
,
allow_cascade
=
False
):
# TODO: Need to implement this fully
return
[
f
'
ALTER TABLE
"
{
table
}
"
FLUSH
'
for
table
in
tables
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment