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