Skip to content

Commit

Permalink
fix connection kwarg to db_type() in custom field to be compatible wi…
Browse files Browse the repository at this point in the history
…th the postgresql backend, resolves #347
  • Loading branch information
meeb committed Feb 21, 2023
1 parent 7876b48 commit e9d4f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tubesync/sync/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def deconstruct(self):
kwargs['possible_choices'] = self.possible_choices
return name, path, args, kwargs

def db_type(self, _connection):
def db_type(self, connection):
return 'text'

def get_my_choices(self):
Expand Down

0 comments on commit e9d4f89

Please sign in to comment.