1 | <?php namespace Bosnadev\Database\Schema\Grammars; |
||
10 | class PostgresGrammar extends \Illuminate\Database\Schema\Grammars\PostgresGrammar |
||
11 | { |
||
12 | /** |
||
13 | * Create the column definition for a character type. |
||
14 | * |
||
15 | * @param Fluent $column |
||
16 | * @return string |
||
17 | */ |
||
18 | 3 | protected function typeCharacter(Fluent $column) |
|
22 | |||
23 | /** |
||
24 | * Create the column definition for a hstore type. |
||
25 | * |
||
26 | * @param Fluent $column |
||
27 | * @return string |
||
28 | */ |
||
29 | 3 | protected function typeHstore(Fluent $column) |
|
33 | |||
34 | /** |
||
35 | * Create the column definition for a uuid type. |
||
36 | * |
||
37 | * @param Fluent $column |
||
38 | * @return string |
||
39 | */ |
||
40 | 3 | protected function typeUuid(Fluent $column) |
|
44 | |||
45 | /** |
||
46 | * Create the column definition for a jsonb type. |
||
47 | * |
||
48 | * @param Fluent $column |
||
49 | * @return string |
||
50 | */ |
||
51 | 3 | protected function typeJsonb(Fluent $column) |
|
55 | |||
56 | /** |
||
57 | * Create the column definition for an int4range type. |
||
58 | * |
||
59 | * @param Fluent $column |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | 3 | protected function typeInt4range(Fluent $column) |
|
67 | |||
68 | /** |
||
69 | * Create the column definition for an int8range type. |
||
70 | * |
||
71 | * @param Fluent $column |
||
72 | * |
||
73 | * @return string |
||
74 | */ |
||
75 | 3 | protected function typeInt8range(Fluent $column) |
|
79 | |||
80 | /** |
||
81 | * Create the column definition for an numrange type. |
||
82 | * |
||
83 | * @param Fluent $column |
||
84 | * |
||
85 | * @return string |
||
86 | */ |
||
87 | 3 | protected function typeNumrange(Fluent $column) |
|
91 | |||
92 | /** |
||
93 | * Create the column definition for an tsrange type. |
||
94 | * |
||
95 | * @param Fluent $column |
||
96 | * |
||
97 | * @return string |
||
98 | */ |
||
99 | 3 | protected function typeTsrange(Fluent $column) |
|
103 | |||
104 | /** |
||
105 | * Create the column definition for an tstzrange type. |
||
106 | * |
||
107 | * @param Fluent $column |
||
108 | * |
||
109 | * @return string |
||
110 | */ |
||
111 | 3 | protected function typeTstzrange(Fluent $column) |
|
115 | |||
116 | /** |
||
117 | * Create the column definition for an daterange type. |
||
118 | * |
||
119 | * @param Fluent $column |
||
120 | * |
||
121 | * @return string |
||
122 | */ |
||
123 | 3 | protected function typeDaterange(Fluent $column) |
|
127 | |||
128 | /** |
||
129 | * Create the column definition for an inet type. |
||
130 | * |
||
131 | * @param Fluent $column |
||
132 | * |
||
133 | * @return string |
||
134 | */ |
||
135 | protected function typeInet(Fluent $column) |
||
139 | |||
140 | /** |
||
141 | * @param mixed $value |
||
142 | * @return mixed|string |
||
143 | */ |
||
144 | protected function getDefaultValue($value) |
||
150 | |||
151 | /** |
||
152 | * Check if string matches on of uuid_generate functions |
||
153 | * |
||
154 | * @param $value |
||
155 | * @return int |
||
156 | */ |
||
157 | protected function isUuid($value) |
||
161 | |||
162 | /** |
||
163 | * Compile a gin index key command. |
||
164 | * |
||
165 | * @param \Bosnadev\Database\Schema\Blueprint $blueprint |
||
166 | * @param \Illuminate\Support\Fluent $command |
||
167 | * @return string |
||
168 | */ |
||
169 | 3 | public function compileGin(Blueprint $blueprint, Fluent $command) |
|
175 | } |
||
176 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.