Use BIGINT SQL type for ID columns (#123973)

Redo recorder ID migration from INT to BIGINT
This commit is contained in:
Erik Montnemery 2024-08-17 11:01:14 +02:00 committed by GitHub
parent 6c01e4b99c
commit a7bca9bcea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 26 additions and 8 deletions

View file

@ -215,7 +215,7 @@ async def test_database_migration_failed(
# Test error handling in _modify_columns
(12, "sqlalchemy.engine.base.Connection.execute", False, 1, 0),
# Test error handling in _drop_foreign_key_constraints
(44, "homeassistant.components.recorder.migration.DropConstraint", False, 2, 1),
(46, "homeassistant.components.recorder.migration.DropConstraint", False, 2, 1),
],
)
@pytest.mark.skip_on_db_engine(["sqlite"])