metasploit-framework/spec/support/shared
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
..
contexts Msf::DBManager Mdm::Module* specs 2013-04-25 09:46:53 -05:00
examples Reset column information after running migrations 2013-05-20 13:08:07 -05:00