import file wip
This commit is contained in:
1 parent
60b524012d
commit
de961122ab
8 files changed
+252
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('statistika_imports', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('sport_id');
|
||||
$table->string('data_type');
|
||||
$table->string('file_name');
|
||||
$table->string('file_name_original');
|
||||
$table->boolean('run_import')->default(0);
|
||||
$table->boolean('is_running')->default(0);
|
||||
$table->boolean('has_run')->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('statistika_imports');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user