Skip to content

Commit

Permalink
Fix character encoding issue with google accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
empty2fill committed Mar 20, 2022
1 parent 83e766c commit c5892bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ services:
environment:
- MYSQL_ROOT_PASSWORD=password12345
- MYSQL_DATABASE=first_db
command:
- --character-set-server=utf8
- --collation-server=utf8_general_ci
volumes:
- ./data/mysql:/var/lib/mysql
restart: always
2 changes: 1 addition & 1 deletion server/www/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Migration(migrations.Migration):
('rank', models.BigIntegerField(default=0)),
('active', models.BooleanField(default=True)),
('service', models.CharField(max_length=16)),
('auth_data', models.CharField(max_length=32768)),
('auth_data', models.TextField()),
],
options={
'db_table': 'User',
Expand Down

0 comments on commit c5892bc

Please sign in to comment.