Skip to content

Commit

Permalink
Update migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jul 18, 2017
1 parent 3eddf82 commit 05c9618
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 61 deletions.
41 changes: 0 additions & 41 deletions chatterbot/ext/django_chatterbot/migrations/0007_create_phrase.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-07-15 13:44
# Generated by Django 1.11 on 2017-07-18 11:25
from __future__ import unicode_literals

from django.db import migrations, models
import django.utils.timezone


class Migration(migrations.Migration):

dependencies = [
('django_chatterbot', '0007_create_phrase'),
('django_chatterbot', '0007_response_created_at'),
]

operations = [
Expand All @@ -25,26 +24,9 @@ class Migration(migrations.Migration):
model_name='statement',
name='created_at',
),
migrations.RemoveField(
model_name='statement',
name='phrase',
),
migrations.AddField(
model_name='conversation',
name='responses',
field=models.ManyToManyField(help_text='The responses in this conversation.', related_name='conversations', to='django_chatterbot.Response'),
),
migrations.AddField(
model_name='response',
name='created_at',
field=models.DateTimeField(default=django.utils.timezone.now, help_text='The date and time that this statement was created at.'),
),
migrations.AlterField(
model_name='statement',
name='text',
field=models.CharField(max_length=255, unique=True),
),
migrations.DeleteModel(
name='Phrase',
),
]

0 comments on commit 05c9618

Please sign in to comment.