PHP Class Yajra\Oci8\Schema\OracleBlueprint

Inheritance: extends Illuminate\Database\Schema\Blueprint
Show file Open project: yajra/laravel-oci8 Class Usage Examples

Public Properties

Property Type Description
$comment string Table comment.
$commentColumns array Column comments

Protected Properties

Property Type Description
$prefix string Database prefix variable.

Public Methods

Method Description
nvarchar2 ( string $column, integer $length = 255 ) : Illuminate\Support\Fluent Create a new nvarchar2 column on the table.
setTablePrefix ( string $prefix = '' ) Set table prefix settings.

Protected Methods

Method Description
createIndexName ( string $type, array $columns ) : string Create a default index name for the table.

Method Details

createIndexName() protected method

Create a default index name for the table.
protected createIndexName ( string $type, array $columns ) : string
$type string
$columns array
return string

nvarchar2() public method

Create a new nvarchar2 column on the table.
public nvarchar2 ( string $column, integer $length = 255 ) : Illuminate\Support\Fluent
$column string
$length integer
return Illuminate\Support\Fluent

setTablePrefix() public method

Set table prefix settings.
public setTablePrefix ( string $prefix = '' )
$prefix string

Property Details

$comment public property

Table comment.
public string $comment
return string

$commentColumns public property

Column comments
public array $commentColumns
return array

$prefix protected property

Database prefix variable.
protected string $prefix
return string