mardi 30 août 2016

how to only use created_at in laravel

everyone.

I am new to laravel.

this is my questions:

this can custom timestamps name

const CREATED_AT = 'created';
const UPDATED_AT = 'updated';

this can disable timestamps

public $timestamps = false;

I want only use created_at , how to do it ?

Aucun commentaire:

Enregistrer un commentaire