Changeset 4b7e2d3 for app/Models


Ignore:
Timestamp:
10/23/21 04:03:46 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
b39afb5
Parents:
c6b84df
Message:

bug fixes, edited export, added fileSeeder for DB testing

Location:
app/Models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • app/Models/Department.php

    rc6b84df r4b7e2d3  
    1414    protected $table = "departments";
    1515
    16     protected $fillable = ["name", "code", "location", "user_id"];
     16    protected $fillable = ["name", "code", "location", "user_id", "no_of_folders"];
    1717
    1818    protected $casts = [
  • app/Models/File.php

    rc6b84df r4b7e2d3  
    33namespace App\Models;
    44
     5use Illuminate\Database\Eloquent\Factories\HasFactory;
    56use Illuminate\Database\Eloquent\Model;
    67use Illuminate\Support\Facades\Storage;
     
    89class File extends Model
    910{
     11    use HasFactory;
     12
    1013    protected $table = "files";
    1114    protected $fillable = ["name", "location", "document_id"];
Note: See TracChangeset for help on using the changeset viewer.