src/CronHelper/Model/JobTable.php
public function create()
	{
		$adapter = $this->dbAdapter;

		$ddl = new Ddl\CreateTable();
		$ddl->setTable(self::TABLE_NAME)
			->addColumn(new Column\Integer('id', false, null, array('autoincrement' => true)))
			->addColumn(new Column\Varchar('code', 55))
			->addColumn(new Column\Varchar('status', 55))
			->addColumn(new Column\Text('error_msg'))
			->addColumn(new Column\Text('stack_trace'))
			->addColumn(new Column\Varchar('created', 255))
			->addColumn(new Column\Varchar('scheduled', 255))
			->addColumn(new Column\Varchar('executed', 255))
			->addColumn(new Column\Varchar('finished', 255))
			->addConstraint(new Constraint\PrimaryKey('id'));

		$sql = (new Sql($adapter))->getSqlStringForSqlObject($ddl);

		$adapter->query($sql, $adapter::QUERY_MODE_EXECUTE);
	}
public function create()
	{
		$adapter = $this->dbAdapter;

		$ddl = new Ddl\CreateTable();
		$ddl->setTable(self::TABLE_NAME)
			->addColumn(new Column\Integer('id', false, null, array('autoincrement' => true)))
			->addColumn(new Column\Varchar('code', 55))
			->addColumn(new Column\Varchar('status', 55))
			->addColumn(new Column\Text('error_msg'))
			->addColumn(new Column\Text('stack_trace'))
			->addColumn(new Column\Varchar('created', 255))
			->addColumn(new Column\Varchar('scheduled', 255))
			->addColumn(new Column\Varchar('executed', 255))
			->addColumn(new Column\Varchar('finished', 255))
			->addConstraint(new Constraint\PrimaryKey('id'));

		$sql = (new Sql($adapter))->getSqlStringForSqlObject($ddl);

		$adapter->query($sql, $adapter::QUERY_MODE_EXECUTE);
	}
Create database table.

@return void