xclasscode commited on
Commit
37d477c
·
1 Parent(s): 64c321d

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +1 -1
models.py CHANGED
@@ -7,7 +7,7 @@ class SentimentResult(database.Base):
7
  __tablename__ = "sentiment_results"
8
 
9
  id = Column(Integer, primary_key=True, index=True)
10
- text_id = Column(Integer, ForeignKey("textinputs.id"))
11
  positive_score = Column(Float)
12
  negative_score = Column(Float)
13
  neutral_score = Column(Float)
 
7
  __tablename__ = "sentiment_results"
8
 
9
  id = Column(Integer, primary_key=True, index=True)
10
+ text = Column(String
11
  positive_score = Column(Float)
12
  negative_score = Column(Float)
13
  neutral_score = Column(Float)