Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit e3f7176

Browse files
committed
A little cleanup per StyleCI feedback
1 parent ef1b302 commit e3f7176

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace Dyrynda\Database\Schema\Grammars;
4+
5+
use Illuminate\Database\Schema\Grammars\PostgresGrammar as BasePostgresGrammar;
6+
7+
class PostgresGrammar extends BasePostgresGrammar
8+
{
9+
/**
10+
* Create the column definition for a UUID type.
11+
*
12+
* @return string
13+
*/
14+
protected function typeEfficientUuid()
15+
{
16+
return 'bytea';
17+
}
18+
}

src/Schema/Grammars/SQLiteGrammar.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ class SQLiteGrammar extends IlluminateSQLiteGrammar
1010
/**
1111
* Create the column definition for a UUID type.
1212
*
13-
* @param \Illuminate\Support\Fluent $column
14-
*
1513
* @return string
1614
*/
17-
protected function typeEfficientUuid(Fluent $column)
15+
protected function typeEfficientUuid()
1816
{
1917
return 'blob(256)';
2018
}

0 commit comments

Comments
 (0)