[mythtv-commits] [MythTV/mythtv] 634c87: Fix update of older MythTV databases (#844)
Patrick J. Maloney
noreply at github.com
Sat Jan 13 14:16:53 UTC 2024
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 634c871972801165623818836b3e662589e70b23
https://github.com/MythTV/mythtv/commit/634c871972801165623818836b3e662589e70b23
Author: Patrick J. Maloney <120519414+PatrickJMaloney at users.noreply.github.com>
Date: 2024-01-13 (Sat, 13 Jan 2024)
Changed paths:
M mythtv/libs/libmythbase/dbutil.cpp
M mythtv/libs/libmythbase/dbutil.h
M mythtv/libs/libmythtv/dbcheck.cpp
Log Message:
-----------
Fix update of older MythTV databases (#844)
* Add method CheckTableColumnExists which checks for existence of a column in a database table.
* Execute some blocks of SQL earlier in the migration process to allow older database versions to migrate properly.
* Changes per PR #844 code review.
* Add requested comments.
(cherry picked from commit 512d723c8374ee3cf5a1b63ce5290a71dc3beee9)
More information about the mythtv-commits
mailing list