TimestampResolver
class TimestampResolver extends Resolver
TIMESTAMP(fsp)
A timestamp. TIMESTAMP values are stored as the number of seconds since the Unix epoch ('1970-01-01 00:00:00' UTC). Format: YYYY-MM-DD hh:mm:ss. The supported range is from '1970-01-01 00:00:01' UTC to '2038-01-09 03:14:07' UTC. Automatic initialization and updating to the current date and time can be specified using DEFAULT CURRENT_TIMESTAMP and ON UPDATE CURRENT_TIMESTAMP in the column definition
Methods
Get the row string form database factory, then return the string for Seeder class.
Get the row string for migration file, then return the string for migration class.
Details
at line 18
string
fake()
Get the row string form database factory, then return the string for Seeder class.
at line 23
string
migration()
Get the row string for migration file, then return the string for migration class.
in
Resolver at line 49
string
last(string $migration)
Finally process for resolvers
in
Resolver at line 68
mixed
__get(string $property)
Reading data from inaccessible (protected or private) or non-existing properties.