DateColumn
trait DateColumn (View source)
Methods
SQLGenerator
addDatetime(string $column, array $attribute = [])
Add datetime column
SQLGenerator
addDate(string $column, array $attribute = [])
Add date column
SQLGenerator
addTime(string $column, array $attribute = [])
Add time column
SQLGenerator
addYear(string $column, array $attribute = [])
Add year column
SQLGenerator
addTimestamp(string $column, array $attribute = [])
Add timestamp column
SQLGenerator
addTimestamps()
Add default timestamps
SQLGenerator
changeDatetime(string $column, array $attribute = [])
Change datetime column
SQLGenerator
changeDate(string $column, array $attribute = [])
Change date column
SQLGenerator
changeTime(string $column, array $attribute = [])
Change time column
SQLGenerator
changeYear(string $column, array $attribute = [])
Change year column
SQLGenerator
changeTimestamp(string $column, array $attribute = [])
Change timestamp column
SQLGenerator
changeTimestamps()
Change default timestamps
Details
SQLGenerator
addDatetime(string $column, array $attribute = [])
Add datetime column
SQLGenerator
addDate(string $column, array $attribute = [])
Add date column
SQLGenerator
addTime(string $column, array $attribute = [])
Add time column
SQLGenerator
addYear(string $column, array $attribute = [])
Add year column
SQLGenerator
addTimestamp(string $column, array $attribute = [])
Add timestamp column
SQLGenerator
addTimestamps()
Add default timestamps
SQLGenerator
changeDatetime(string $column, array $attribute = [])
Change datetime column
SQLGenerator
changeDate(string $column, array $attribute = [])
Change date column
SQLGenerator
changeTime(string $column, array $attribute = [])
Change time column
SQLGenerator
changeYear(string $column, array $attribute = [])
Change year column
SQLGenerator
changeTimestamp(string $column, array $attribute = [])
Change timestamp column
SQLGenerator
changeTimestamps()
Change default timestamps