metasploit-framework/lib/msf/core/db_manager
Luke Imhoff 89bd5b4791 Reset column information after running migrations
[#50179803]
[SeeRM #7967]
[SeeRM #7870]

Because metasploit-framework runs migrations with the same process and
with the same connection as it later accesses the database, the column
information can become cached prematurely and be incorrect by the end of
the migrations.  Fix the bad cache by automatically resetting the column
information for all model classes after the migrations have run.
2013-05-20 13:08:07 -05:00
..
import_msf_xml.rb Msf::DBManager#import_msf_xml refactor 2013-04-01 16:06:40 -05:00
migration.rb Reset column information after running migrations 2013-05-20 13:08:07 -05:00