flake8
passed.
JSHint
passed.
Review Request #10556 — Created May 20, 2019 and submitted
DatabaseState
was originally built to help solve some tracking
problems for table indexes. We now need it to track model installation,
and going forward, we'll be using it to track table engines and other
details.This change updates this class to fix up some small table lookup issues
(ensuring that we always normalize table names), to rename
rescan_indexes()
torescan_tables()
(which is a more appropriate
name), and to add a utility function for determining if the database has
a table that backs a given model.Future changes will update this to track additional information.
Unit tests pass.
Summary | ID |
---|---|
9cdee0b5635e52f05fca19429328a44a18d17939 |