| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class PostgresConnection extends BasePostgresConnection |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Get the default schema grammar instance. |
||
| 14 | * |
||
| 15 | * @return \ShiftOneLabs\LaravelNomad\Extension\Database\Schema\Grammars\PostgresGrammar |
||
| 16 | */ |
||
| 17 | 402 | protected function getDefaultSchemaGrammar() |
|
| 18 | { |
||
| 19 | 402 | return $this->withTablePrefix(new SchemaGrammar()); |
|
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get a schema builder instance for the connection. |
||
| 24 | * |
||
| 25 | * @return \Illuminate\Database\Schema\Builder |
||
| 26 | */ |
||
| 27 | 67 | public function getSchemaBuilder() |
|
| 37 | } |
||
| 38 | } |
||
| 39 |