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 moved

Legend:

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

    r6b95845 rc6b84df  
    55use Illuminate\Support\Facades\Schema;
    66
    7 class CreateDocumentsTable extends Migration
     7class CreateFoldersTable extends Migration
    88{
    99    /**
     
    1414    public function up()
    1515    {
    16         Schema::create('documents', function (Blueprint $table) {
     16        Schema::create('folders', function (Blueprint $table) {
    1717            $table->bigIncrements('id');
    1818            $table->string("arch_id")->unique();
    1919            $table->string("name");
    20             $table->text("description");
     20            $table->text("note")->nullable();
     21            $table->string("location");
    2122            $table->integer("user_id")->unsigned();
    2223            $table->integer("department_id")->unsigned();
    23             $table->boolean("is_important")->default(true);
     24            $table->boolean("is_important")->default(false);
    2425            $table->timestamps();
    2526
     
    3637    public function down()
    3738    {
    38         Schema::dropIfExists('documents');
     39        Schema::dropIfExists('folders');
    3940    }
    4041}
Note: See TracChangeset for help on using the changeset viewer.