Skip to content

Commit

Permalink
Fix to migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Littman committed Nov 14, 2016
1 parent 5066963 commit de1ba29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfm/ui/migrations/0007_auto_20161114_1637.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def gen_uuid(apps, schema_editor):
MyModel = apps.get_model('ui', 'Credential')
for row in MyModel.objects.all():
row.credential_id = uuid.uuid4()
row.credential_id = uuid.uuid4().hex
row.save()


Expand Down

0 comments on commit de1ba29

Please sign in to comment.