Schema/Blueprint.php
- Package
- Default
\ShSo\Lacassa\Schema\Blueprint
- Parent(s)
- \Illuminate\Database\Schema\Blueprint
Properties

\ShSo\Lacassa\Schema\MongoConnection $connection- Type
- \ShSo\Lacassa\Schema\MongoConnection
Methods

ascii(string $column) : \Illuminate\Support\FluentCreate a new ascii column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

bigint(string $column) : \Illuminate\Support\FluentCreate a new bigint column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

blob(string $column) : \Illuminate\Support\FluentCreate a new blob column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

boolean(string $column) : \Illuminate\Support\FluentCreate a new boolean column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

counter(string $column) : \Illuminate\Support\FluentCreate a new counter column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

frozen(string $column) : \Illuminate\Support\FluentCreate a new frozen column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

getAddedColumns() : arrayGet the columns on the blueprint that should be added.
| Type | Description |
|---|---|
| array |

inet(string $column) : \Illuminate\Support\FluentCreate a new inet column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

int(string $column) : \Illuminate\Support\FluentCreate a new int column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

listCollection(string $column, string $collectionType) : \Illuminate\Support\FluentCreate a new list column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string | |
| $collectionType | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

mapCollection(string $column, string $collectionType1, string $collectionType2) : \Illuminate\Support\FluentCreate a new map column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string | |
| $collectionType1 | string | |
| $collectionType2 | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

primary(string | array $columns, string $name = null, string | null $algorithm = null) : \Illuminate\Support\FluentSpecify the primary key(s) for the table.
| Name | Type | Description |
|---|---|---|
| $columns | string | array | |
| $name | string | |
| $algorithm | string | null |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

setCollection(string $column, string $collectionType) : \Illuminate\Support\FluentCreate a new set column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string | |
| $collectionType | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

timestamp(string $column) : \Illuminate\Support\FluentCreate a new timestamp column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

timeuuid(string $column) : \Illuminate\Support\FluentCreate a new timeuuid column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

toSql(\Illuminate\Database\Connection $connection, \Illuminate\Database\Schema\Grammars\Grammar $grammar) : arrayGet the raw SQL statements for the blueprint.
| Name | Type | Description |
|---|---|---|
| $connection | \Illuminate\Database\Connection | |
| $grammar | \Illuminate\Database\Schema\Grammars\Grammar |
| Type | Description |
|---|---|
| array |

tuple(string $column, string $tuple1type, string $tuple2type, string $tuple3type) : \Illuminate\Support\FluentCreate a new tuple column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string | |
| $tuple1type | string | |
| $tuple2type | string | |
| $tuple3type | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

uuid(string $column) : \Illuminate\Support\FluentCreate a new uuid column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |

varchar(string $column) : \Illuminate\Support\FluentCreate a new varchar column on the table.
| Name | Type | Description |
|---|---|---|
| $column | string |
| Type | Description |
|---|---|
| \Illuminate\Support\Fluent |