Skip to content

Commit

Permalink
Merge 2de962f into d6d4601
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Dec 12, 2016
2 parents d6d4601 + 2de962f commit 5b112fd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-12-12 00:06
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('django_chatterbot', '0002_statement_extra_data'),
]

operations = [
migrations.AlterField(
model_name='response',
name='occurrence',
field=models.PositiveIntegerField(default=1),
),
]
2 changes: 1 addition & 1 deletion chatterbot/ext/django_chatterbot/models.py
Expand Up @@ -127,7 +127,7 @@ class Response(models.Model):

unique_together = (('statement', 'response'),)

occurrence = models.PositiveIntegerField(default=0)
occurrence = models.PositiveIntegerField(default=1)

def __str__(self):
return '{} => {}'.format(
Expand Down

0 comments on commit 5b112fd

Please sign in to comment.