Skip to content

Commit 12ad9d6

Browse files
authored
Merge pull request #454 from dimitri-yatsenko/master
Fix #453 -- Use latin1 character set.
2 parents 260b532 + 52562fe commit 12ad9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/declare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def declare(full_table_name, definition, context):
176176
['PRIMARY KEY (`' + '`,`'.join(primary_key) + '`)'] +
177177
foreign_key_sql +
178178
index_sql) +
179-
'\n) ENGINE=InnoDB, COMMENT "%s"' % table_comment), uses_external
179+
'\n) ENGINE=InnoDB, CHARACTER SET latin1, COMMENT "%s"' % table_comment), uses_external
180180

181181

182182
def compile_attribute(line, in_key, foreign_key_sql):

0 commit comments

Comments
 (0)