1 | <?php namespace Bosnadev\Database\Schema; |
||
7 | class Blueprint extends \Illuminate\Database\Schema\Blueprint |
||
8 | { |
||
9 | /** |
||
10 | * Add the index commands fluently specified on columns. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | 33 | protected function addFluentIndexes() |
|
38 | |||
39 | /** |
||
40 | * Specify an index for the table. |
||
41 | * |
||
42 | * @param string|array $columns |
||
43 | * @param string $name |
||
44 | * @return \Illuminate\Support\Fluent |
||
45 | */ |
||
46 | 6 | public function gin($columns, $name = null) |
|
50 | |||
51 | /** |
||
52 | * Create a new character column on the table. |
||
53 | * |
||
54 | * @param string $column |
||
55 | * @param int $length |
||
56 | * @return \Illuminate\Support\Fluent |
||
57 | */ |
||
58 | 6 | public function character($column, $length = 255) |
|
62 | |||
63 | /** |
||
64 | * @param $column |
||
65 | * @return \Illuminate\Support\Fluent |
||
66 | */ |
||
67 | 6 | public function hstore($column) |
|
71 | |||
72 | /** |
||
73 | * @param $column |
||
74 | * @return \Illuminate\Support\Fluent |
||
75 | */ |
||
76 | 6 | public function uuid($column) |
|
80 | |||
81 | /** |
||
82 | * Create a new jsonb column on the table |
||
83 | * |
||
84 | * @param $column |
||
85 | * @return \Illuminate\Support\Fluent |
||
86 | */ |
||
87 | 6 | public function jsonb($column) |
|
91 | |||
92 | /** |
||
93 | * Create a new int4range column on the table. |
||
94 | * |
||
95 | * @param string $column |
||
96 | * |
||
97 | * @return \Illuminate\Support\Fluent |
||
98 | */ |
||
99 | 6 | public function int4range($column) |
|
103 | |||
104 | /** |
||
105 | * Create a new int8range column on the table. |
||
106 | * |
||
107 | * @param string $column |
||
108 | * |
||
109 | * @return \Illuminate\Support\Fluent |
||
110 | */ |
||
111 | 6 | public function int8range($column) |
|
115 | |||
116 | /** |
||
117 | * Create a new numrange column on the table. |
||
118 | * |
||
119 | * @param string $column |
||
120 | * |
||
121 | * @return \Illuminate\Support\Fluent |
||
122 | */ |
||
123 | 6 | public function numrange($column) |
|
127 | |||
128 | /** |
||
129 | * Create a new tsrange column on the table. |
||
130 | * |
||
131 | * @param string $column |
||
132 | * |
||
133 | * @return \Illuminate\Support\Fluent |
||
134 | */ |
||
135 | 6 | public function tsrange($column) |
|
139 | |||
140 | /** |
||
141 | * Create a new tstzrange column on the table. |
||
142 | * |
||
143 | * @param string $column |
||
144 | * |
||
145 | * @return \Illuminate\Support\Fluent |
||
146 | */ |
||
147 | 6 | public function tstzrange($column) |
|
151 | |||
152 | /** |
||
153 | * Create a new daterange column on the table. |
||
154 | * |
||
155 | * @param $column |
||
156 | * |
||
157 | * @return \Illuminate\Support\Fluent |
||
158 | */ |
||
159 | 3 | public function daterange($column) |
|
163 | |||
164 | /** |
||
165 | * Create a new inet column on the table. |
||
166 | * |
||
167 | * @param $column |
||
168 | * |
||
169 | * @return \Illuminate\Support\Fluent |
||
170 | */ |
||
171 | public function inet($column) |
||
175 | } |
||
176 |