Skip to content

Commit

Permalink
Info.version should be a string, not an integer, resolves #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Azelphur committed Nov 25, 2016
1 parent de8009e commit 2dcbe29
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions game_info/migrations/0002_auto_20161125_2030.py
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-11-25 20:30
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('game_info', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='info',
name='version',
field=models.CharField(max_length=64),
),
]
2 changes: 1 addition & 1 deletion game_info/models.py
Expand Up @@ -149,7 +149,7 @@ class Info(models.Model):
platform = models.IntegerField(choices=PLATFORMS)
password_protected = models.BooleanField()
vac_enabled = models.BooleanField()
version = models.IntegerField()
version = models.CharField(max_length=64)


class Player(models.Model):
Expand Down

0 comments on commit 2dcbe29

Please sign in to comment.