Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 92577cfd

Přidáno uživatelem Marek Lovčí před asi 4 roky(ů)

Seeding

Zobrazit rozdíly:

app/Metadata.php
7 7
class Metadata extends Model
8 8
{
9 9
    // Table Name
10
    protected $table = 'metadata';//same name could make problems
10
    protected $table = 'metadata';
11 11
    // Primary Key
12
    public $primaryKey = 'id';//unnecessery?
13

  
14
    /**
15
     * The model's default values for attributes.
16
     *
17
     * @var array
18
     */
19
    /*protected $attributes = [
20
        'likes' => 0,
21
    ];*/
12
    public $primaryKey = 'id';
22 13

  
23 14
    /**
24 15
     * Indicates if the model should be timestamped.

Také k dispozici: Unified diff