src/Synapse/Migration/RunMigrationsCommand.php
protected function recordMigration(AbstractMigration $migration)
    {
        $query = 'INSERT INTO `app_migrations` (`timestamp`, `description`) VALUES ("%s", "%s")';
        $query = sprintf($query, $migration->getTimestamp(), $migration->getDescription());

        $this->db->query($query, DbAdapter::QUERY_MODE_EXECUTE);
    }
protected function recordMigration(AbstractMigration $migration)
    {
        $query = 'INSERT INTO `app_migrations` (`timestamp`, `description`) VALUES ("%s", "%s")';
        $query = sprintf($query, $migration->getTimestamp(), $migration->getDescription());

        $this->db->query($query, DbAdapter::QUERY_MODE_EXECUTE);
    }
protected function recordMigration ( AbstractMigration $ migration ) { $ query = 'INSERT INTO `app_migrations` (`timestamp`, `description`) VALUES ("%s", "%s")' ; $ query = sprintf ( $ query , $ migration -> getTimestamp ( ) , $ migration -> getDescription ( ) ) ; $ this -> db -> query ( $ query , DbAdapter :: QUERY_MODE_EXECUTE ) ; }
Insert a record into app_migrations to record that this migration was run

@param  AbstractMigration $migration
Insert a record into app_migrations to record that this migration was run