First Upload

This commit is contained in:
2024-10-19 18:23:55 +00:00
commit 9db52c11c3
11339 changed files with 1479286 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateTasksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tasks', function (Blueprint $table) {
$table->integer('id', true);
$table->string('task_name')->nullable();
$table->string('task_desc')->nullable();
$table->string('task_command')->nullable();
$table->integer('task_categories')->nullable();
$table->integer('task_devices')->nullable();
$table->integer('task_tags')->nullable();
$table->integer('task_snippet')->nullable();
$table->string('task_cron')->nullable();
$table->integer('task_email_notify')->nullable();
$table->integer('download_report_notify')->nullable();
$table->integer('verbose_download_report_notify')->nullable();
$table->integer('is_system')->nullable()->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('tasks');
}
}