private function createMigrationsTableIfRequired() { $schema = $this->databaseAPI->schema(); if (!$schema->hasTable(self::MIGRATIONS_TABLE)) { $schema->create(self::MIGRATIONS_TABLE, function (Blueprint $table) { $table->string(Migration::date, 14); $table->string(Migration::module, 64); $table->string(Migration::name, 128); $table->string(Migration::reverse, 1024); $table->primary(Migration::date); }); } }