-
Notifications
You must be signed in to change notification settings - Fork 17
/
.meta.php
69 lines (60 loc) · 2.28 KB
/
.meta.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
namespace Illuminate\Support\Facades {
use Umbrellio\Postgres\Schema\Definitions\ForeignKeyDefinition;
/**
* @method ForeignKeyDefinition[] getForeignKeys(string $tableName)
*/
class Schema {
}
}
namespace Illuminate\Database\Schema {
use Closure;
use Illuminate\Support\Fluent;
use Umbrellio\Postgres\Schema\Definitions\AttachPartitionDefinition;
use Umbrellio\Postgres\Schema\Definitions\CheckDefinition;
use Umbrellio\Postgres\Schema\Definitions\ExcludeDefinition;
use Umbrellio\Postgres\Schema\Definitions\LikeDefinition;
use Umbrellio\Postgres\Schema\Definitions\ViewDefinition;
use Umbrellio\Postgres\Schema\Definitions\UniqueDefinition;
/**
* @method __construct($table, Closure $callback = null, $prefix = '')
*
* @method AttachPartitionDefinition attachPartition(string $partition)
* @method void detachPartition(string $partition)
* @method LikeDefinition like(string $table)
* @method Fluent ifNotExists()
* @method UniqueDefinition uniquePartial($columns, ?string $index = null, ?string $algorithm = null)
* @method ViewDefinition createView(string $view, string $select, bool $materialize = false)
* @method Fluent dropView(string $view)
* @method ColumnDefinition numeric(string $column, ?int $precision = null, ?int $scale = null)
* @method ColumnDefinition tsrange(string $column)
* @method ColumnDefinition daterange(string $column)
* @method ExcludeDefinition exclude($columns, ?string $index = null)
* @method CheckDefinition check($columns, ?string $index = null)
* @method string getTable()
* @method ColumnDefinition|Fluent addColumn($type, $name, array $parameters = [])
*
* @property bool $temporary
*/
class Blueprint
{
protected function addCommand($name, array $parameters = []): Fluent
{
return new Fluent();
}
protected function createIndexName($type, array $columns): string
{
return '';
}
protected function dropIndexCommand($command, $type, $index): Fluent
{
return new Fluent();
}
}
/**
* @method ColumnDefinition using($expression)
*/
class ColumnDefinition extends Fluent
{
}
}