mirror of
https://github.com/django/django.git
synced 2025-10-28 08:06:09 +00:00
boulder-oracle-sprint: Added Oracle DROP SEQUENCE emission to the sqlclear command.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -369,8 +369,8 @@ def get_sql_delete(app):
|
||||
style.SQL_KEYWORD(backend.get_drop_foreignkey_sql()),
|
||||
style.SQL_FIELD(truncate_name(r_name, backend.get_max_name_length()))))
|
||||
del references_to_delete[model]
|
||||
if hasattr(backend, 'get_drop_sequence'):
|
||||
output.append(backend.get_drop_sequence(model._meta.db_table))
|
||||
if hasattr(backend, 'get_drop_sequence'):
|
||||
output.append(backend.get_drop_sequence(model._meta.db_table))
|
||||
|
||||
# Output DROP TABLE statements for many-to-many tables.
|
||||
for model in app_models:
|
||||
|
||||
Reference in New Issue
Block a user