Skip to content

Commit 0b9a9b8

Browse files
committed
WIP
- Add UUID type
1 parent 1b2a17a commit 0b9a9b8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Schema/DB2SchemaGrammar.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,19 @@ protected function typeBinary(Fluent $column)
647647
return 'blob';
648648
}
649649

650+
/**
651+
* Create the column definition for a UUID type
652+
*
653+
* @param \Illuminate\Support\Fluent $column
654+
* @return string
655+
*/
656+
protected function typeUuid(Fluent $column)
657+
{
658+
return 'char(36)';
659+
}
660+
661+
662+
650663
/**
651664
* Get the SQL for a nullable column modifier.
652665
*

0 commit comments

Comments
 (0)