-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store db schema version and ROS_DISTRO name in db3 files (#1156)
* Add new tables for `schema` and `metadata` Signed-off-by: Michael Orlov <michael.orlov@apex.ai> * Add `SqliteWrapper::table_exists(table_name)` Signed-off-by: Michael Orlov <michael.orlov@apex.ai> * Add `get_db_schema_versio()` and `get_recorded_ros_distro()` Signed-off-by: Michael Orlov <michael.orlov@apex.ai> * Add unit tests for checking new and old db schema versions Added following unit tests: - `get_db_schema_version_returns_correct_value` - `get_recorded_ros_distro_returns_correct_value` - `check_backward_compatibility_with_schema_version_2` Signed-off-by: Michael Orlov <michael.orlov@apex.ai> Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
- Loading branch information
1 parent
1e4efa4
commit 9498426
Showing
7 changed files
with
170 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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