Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

custom timestamp column laravel

class BaseModel extends Eloquent {
    const CREATED_AT = 'date_created';
    const UPDATED_AT = 'date_modified';
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #custom #timestamp #column #laravel
ADD COMMENT
Topic
Name
8+6 =