Skip to content

Commit

Permalink
feat: add neutral news
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowtham1729 committed Dec 11, 2023
1 parent 6025bfe commit 59d359a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.7 on 2023-12-11 14:01

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("news", "0005_analysis"),
]

operations = [
migrations.AddField(
model_name="analysis",
name="neutral_news",
field=models.IntegerField(default=0),
preserve_default=False,
),
]
1 change: 1 addition & 0 deletions applications/backend/django_server/news/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class Analysis(models.Model):

positive_news = models.IntegerField()
negative_news = models.IntegerField()
neutral_news = models.IntegerField()

need_attention = models.BooleanField()

Expand Down

0 comments on commit 59d359a

Please sign in to comment.