Schema
class Schema (View source)
The Schema class.
Methods
addUniqueKey(array $columns, string $name = null)
addUniqueKey
addPrimaryKey(array $columns)
addPrimaryKey
mixed
__call($name, $arguments)
is triggered when invoking inaccessible methods in an object context.
getTable()
Method to get property Table
Column[]
getColumns()
Method to get property Columns
Key[]
getIndexes()
Method to get property Indexes
string
getDateFormat()
getDateFormat
string
getNullDate()
getNullDate
Bit
bit($name)
No description
Char
char($name)
No description
Datetime
datetime($name)
No description
Decimal
decimal($name)
No description
Double
double($name)
No description
FloatType
float($name)
No description
Integer
integer($name)
No description
Longtext
longtext($name)
No description
Primary
primary($name)
No description
Text
text($name)
No description
Timestamp
timestamp($name)
No description
Tinyint
tinyint($name)
No description
Varchar
varchar($name)
No description
Details
at line line 61
__construct(AbstractTable $table)
Schema constructor.
at line line 175
mixed
__call($name, $arguments)
is triggered when invoking inaccessible methods in an object context.
at line line 199
AbstractTable
getTable()
Method to get property Table
at line line 211
Schema
setTable(AbstractTable $table)
Method to set property table
at line line 273
string
getDateFormat()
getDateFormat
at line line 285
string
getNullDate()
getNullDate