diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-24 04:54:52 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-24 04:54:52 +0000 |
commit | 0c17de892ac39f8252af38c8aca83939d1ea1858 (patch) | |
tree | 8f72a93a34a02ff056b21ac33c38902c96856a25 /rpki/pubdb/migrations | |
parent | 69f506351550a565b776a0dcdd68732b666d2cde (diff) |
Switched from BlobField to BinaryField, but doesn't seem to have
helped the MySQL UTF-8 whining. Same Python code running with MySQL
5.5 doesn't do this, so it's some kind of upgrade trainwreck.
BinaryField uses BLOBs too, just as one would expect, so in theory
this can't be happening. So it's an undocumented feature. Yum.
But we wanted to move to BinaryField anyway, and doing so doesn't seem
to have made the problem worse, so committing the changes.
svn path=/branches/tk705/; revision=6145
Diffstat (limited to 'rpki/pubdb/migrations')
-rw-r--r-- | rpki/pubdb/migrations/0002_auto_20151023_2151.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/rpki/pubdb/migrations/0002_auto_20151023_2151.py b/rpki/pubdb/migrations/0002_auto_20151023_2151.py new file mode 100644 index 00000000..ae354a9b --- /dev/null +++ b/rpki/pubdb/migrations/0002_auto_20151023_2151.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models +import rpki.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('pubdb', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='client', + name='bpki_cert', + field=rpki.fields.CertificateField(), + ), + migrations.AlterField( + model_name='client', + name='bpki_glue', + field=rpki.fields.CertificateField(null=True), + ), + ] |