Recorder: Increase size of the entity column in states table (#2778)

Fixes https://github.com/home-assistant/home-assistant/issues/2697
This commit is contained in:
Paulus Schoutsen 2016-08-10 17:40:52 -07:00 committed by GitHub
parent bf21d6b4e1
commit e926426af9

View File

@ -61,7 +61,7 @@ class States(Base): # type: ignore
__tablename__ = 'states'
state_id = Column(Integer, primary_key=True)
domain = Column(String(64))
entity_id = Column(String(64))
entity_id = Column(String(255))
state = Column(String(255))
attributes = Column(Text)
event_id = Column(Integer, ForeignKey('events.event_id'))