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