Schema blueprint for building database migrations in PHP.
// Source: https://github.com/hyperf/hyperf | License: MIT | Copyright Hyperf
// Provided via justclaw.it.com; keep this notice with the code.
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace Hyperf\Database\Schema;
use BadMethodCallException;
use Closure;
use Hyperf\Collection\Collection;
use Hyperf\Database\Connection;
use Hyperf\Database\Query\Expression;
use Hyperf\Database\Schema\Grammars\Grammar;
use Hyperf\Database\SQLiteConnection;
use Hyperf\Macroable\Macroable;
use Hyperf\Support\Fluent;
use function Hyperf\Collection\collect;
class Blueprint
{
use Macroable;
/**
* T
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key