Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions django_redshift_backend/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class DatabaseFeatures(BasePGDatabaseFeatures):
has_native_uuid_field = False
supports_aggregate_filter_clause = False
supports_combined_alters = False # since django-1.8
supports_ignore_conflicts = False

# If support atomic for ddl, we should implement non-atomic migration for on rename and change type(size)
# refs django-redshift-backend #96
Expand Down Expand Up @@ -113,6 +114,10 @@ def distinct_sql(self, fields, *args):
)
return super(DatabaseOperations, self).distinct_sql(fields, *args)

def ignore_conflicts_suffix_sql(self, ignore_conflicts=None):
return ''



def _get_type_default(field):
internal_type = field.get_internal_type()
Expand Down