Files
vuefilemanager/database/migrations/2020_12_13_155309_create_zips_table.php
Peter Papp a10d394abb - download multiple files in public folder
- frontend build
2020-12-19 11:34:32 +01:00

34 lines
724 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateZipsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('zips', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->bigInteger('user_id');
$table->string('shared_token')->nullable();
$table->text('basename');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('zips');
}
}