mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
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:
parent
bf21d6b4e1
commit
e926426af9
@ -61,7 +61,7 @@ class States(Base): # type: ignore
|
|||||||
__tablename__ = 'states'
|
__tablename__ = 'states'
|
||||||
state_id = Column(Integer, primary_key=True)
|
state_id = Column(Integer, primary_key=True)
|
||||||
domain = Column(String(64))
|
domain = Column(String(64))
|
||||||
entity_id = Column(String(64))
|
entity_id = Column(String(255))
|
||||||
state = Column(String(255))
|
state = Column(String(255))
|
||||||
attributes = Column(Text)
|
attributes = Column(Text)
|
||||||
event_id = Column(Integer, ForeignKey('events.event_id'))
|
event_id = Column(Integer, ForeignKey('events.event_id'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user