for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LaravelSpatial\Schema;
use Illuminate\Database\Schema\Blueprint as BaseBlueprint;
/**
* Class Blueprint
* @package LaravelSpatial\Schema
*/
class Blueprint extends BaseBlueprint
{
* Enable postgis on this database.
* Will create the extension in the database.
*
* @return \Illuminate\Support\Fluent
public function enablePostgis()
return $this->addCommand('enablePostgis');
}
* Disable postgis on this database.
* WIll drop the extension in the database.
public function disablePostgis()
return $this->addCommand('disablePostgis');