-
-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Migrate statistics to use timestamp columns #87321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 36 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e1208e9
Migrate statistics to use timestamp columns
bdraco 0b4b5b7
update queries
bdraco ee065e9
leave dupliate stats cleanup alone
bdraco 4c5c6a3
leave dupliate stats cleanup alone
bdraco 03218f8
lint
bdraco 3f46b39
lint
bdraco d6f83a6
fixes
bdraco 009c1b7
bump it
bdraco e32772a
fixes
bdraco 59395e6
fixes
bdraco 60d4ba6
fixes
bdraco 6fd6055
Merge branch 'dev' into stats_migration
bdraco 39a6c18
tweak language
bdraco 5f7c96a
tweak language
bdraco aa6460a
fix version
bdraco 1257a73
make sure to cleanup old indexes when we are done as well
bdraco 05aef96
make sure to cleanup old indexes when we are done as well
bdraco 9ad6e8b
tweak
bdraco bcf5dd7
drop index after cleanup
bdraco d8d82d3
Merge branch 'dev' into stats_migration
bdraco 77b63e7
tweak
bdraco 21a625c
tweak
bdraco dac7e4a
missing fstring
bdraco c0398e7
Merge branch 'dev' into stats_migration
bdraco cb28009
relo code to match design
bdraco b83babb
Merge branch 'dev' into stats_migration
bdraco 11096ff
set the time zone to utc for the connection with mysql so we avoid th…
bdraco 4757bca
update test
bdraco 198068f
Merge branch 'dev' into stats_migration
bdraco 51e4914
Merge branch 'dev' into stats_migration
bdraco 22ff378
Merge branch 'dev' into stats_migration
bdraco 349842e
Merge remote-tracking branch 'upstream/dev' into stats_migration
bdraco 27dc5cb
move asserts
bdraco c661870
simplify math
bdraco 0f2ae5f
Merge branch 'dev' into stats_migration
bdraco 7212fdc
tweak
bdraco 8d856c8
Apply suggestions from code review
bdraco a81167f
Update homeassistant/components/recorder/migration.py
bdraco 1a819ef
Merge branch 'dev' into stats_migration
bdraco 8b95851
Merge branch 'dev' into stats_migration
bdraco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.