Ignore:
Timestamp:
10/21/21 23:45:59 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
4b7e2d3
Parents:
6b95845
Message:

added fileTypes controller, notifications, excel export, edited views

File:
1 edited

Legend:

Unmodified
Added
Removed
  • database/migrations/2021_10_10_103309_create_files_table.php

    r6b95845 rc6b84df  
    1616        Schema::create('files', function (Blueprint $table) {
    1717            $table->bigIncrements('id');
    18             $table->bigInteger('document_id')->unsigned();
     18            $table->bigInteger('folder_id')->unsigned();
    1919            $table->string("name");
    2020            $table->string("location");
    21             $table->foreign("document_id")->references("id")->on("documents");
     21            $table->foreign("folder_id")->references("id")->on("folders");
    2222            $table->timestamps();
    2323        });
Note: See TracChangeset for help on using the changeset viewer.