FEATURE: add database models

This commit is contained in:
Michal Kváček
2016-01-20 20:08:39 +01:00
parent d08c7ab744
commit 2b4bc0f5f5
19 changed files with 431 additions and 34 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class ContentHistory
*/
class ContentHistory extends Model
{
public $timestamps = true;
protected $fillable = [
'user_id',
'content_id',
'changed_at',
'edit_batch',
'column',
'new_value',
'old_value'
];
protected $guarded = [];
}