You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
385 B

  1. #include "Migration.h"
  2. #include <boost/core/typeinfo.hpp>
  3. namespace db {
  4. namespace migrations {
  5. namespace db_builder = db::migrations::builder;
  6. std::string Migration::get_migration_name() const {
  7. return std::string(boost::core::demangled_name(BOOST_CORE_TYPEID(*this)));
  8. }
  9. std::string Migration::get_statement() const {
  10. return m_statement;
  11. }
  12. }
  13. }