src/Database/Migrator.php
/**
	 * Returns `true` if the given migration has a record in the `@schema` table. You can use this to check if
	 * a migration has run yet.
	 *
	 * @param Migration $migration
	 * @return bool
	 */
Returns `true` if the given migration has a record in the `@schema` table. You can use this to check if
a migration has run yet.

@param Migration $migration
@return bool
Returns ` true ` if the given migration has a record in the ` @schema ` table . You can use this to check if a migration has run yet . @param Migration $migration @return bool
public function hasMigrationRecord(Migration $migration) {
		$this->init();
		$name = $migration->getRecordName();
		return array_key_exists($name, $this->schemaRecords);
	}
public function hasMigrationRecord ( Migration $ migration ) { $ this -> init ( ) ; $ name = $ migration -> getRecordName ( ) ; return array_key_exists ( $ name , $ this -> schemaRecords ) ; }
Returns `true` if the given migration has a record in the `@schema` table.
Returns ` true ` if the given migration has a record in the ` @schema ` table .