- Timestamp:
- 10/21/21 23:45:59 (3 years ago)
- Branches:
- develop, master
- Children:
- 4b7e2d3
- Parents:
- 6b95845
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database/migrations/2021_10_10_103309_create_files_table.php
r6b95845 rc6b84df 16 16 Schema::create('files', function (Blueprint $table) { 17 17 $table->bigIncrements('id'); 18 $table->bigInteger(' document_id')->unsigned();18 $table->bigInteger('folder_id')->unsigned(); 19 19 $table->string("name"); 20 20 $table->string("location"); 21 $table->foreign(" document_id")->references("id")->on("documents");21 $table->foreign("folder_id")->references("id")->on("folders"); 22 22 $table->timestamps(); 23 23 });
Note:
See TracChangeset
for help on using the changeset viewer.