Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to remove updated_at or use only created_at laravel eloquent ORM

public $timestamps = ["created_at"]; //only want to used created_at column
const UPDATED_AT = null; //and updated by default null set
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #remove #laravel #eloquent #ORM
ADD COMMENT
Topic
Name
8+7 =