Файловый менеджер - Редактировать - /var/www/vhosts/aviointeriors.dev1.mndrn.cloud/routes/update/migrations.tar
Назад
2024_07_09_195444_add_missing_folder_to_companies_table.php 0000644 00000001137 15233636347 0017135 0 ustar 00 <?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::table('companies', function (Blueprint $table) { $table->integer('missing_folders')->unsigned()->nullable()->default(0); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('companies', function (Blueprint $table) { // }); } }; 2024_07_05_122532_add_active_to_companies_table.php 0000644 00000001126 15233636347 0015362 0 ustar 00 <?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::table('companies', function (Blueprint $table) { $table->integer('active')->unsigned()->nullable()->default(0); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('companies', function (Blueprint $table) { // }); } }; 2024_06_05_160057_create_questions_table.php 0000644 00000001263 15233636347 0014121 0 ustar 00 <?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('questions', function (Blueprint $table) { $table->id(); $table->integer('type')->unsigned()->nullable(); $table->text('label')->nullable(); $table->string('lang')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('questions'); } }; 2024_06_05_153549_add_type_and_label_to_ratings_table.php 0000644 00000001104 15233636347 0016551 0 ustar 00 <?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::table('ratings', function (Blueprint $table) { $table->integer('type')->unsigned()->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('ratings', function (Blueprint $table) { // }); } }; 2024_06_05_104514_create_ratings_table.php 0000644 00000001452 15233636347 0013532 0 ustar 00 <?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('ratings', function (Blueprint $table) { $table->id(); $table->timestamps(); $table->bigInteger('user_id')->unsigned(); $table->bigInteger('company_id')->unsigned(); $table->integer('rate')->unsigned()->nullable(); $table->text('message')->nullable(); $table->timestamp('read_at')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('ratings'); } }; 2024_07_09_134709_create_mail_queue_table.php 0000644 00000001736 15233636347 0014234 0 ustar 00 <?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('mail_queue', function (Blueprint $table) { $table->id(); $table->text('label'); $table->text('type'); $table->text('status')->nullable(); $table->text('info')->nullable(); $table->json('mail_json')->nullable(); $table->string('to')->nullable(); $table->string('from')->nullable(); $table->text('cc')->nullable(); $table->text('ccn')->nullable(); $table->timestamp('send_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('mail_queue'); } }; 2024_07_23_175746_add_renewal_token_to_users_table.php 0000644 00000001072 15233636347 0016146 0 ustar 00 <?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::table('users', function (Blueprint $table) { $table->text('renewal_token')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('users', function (Blueprint $table) { // }); } }; 2024_06_07_113312_add_user_first_name_and_user_last_name_to_products_table.php 0000644 00000001172 15233636347 0023062 0 ustar 00 <?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::table('products', function (Blueprint $table) { $table->text('user_first_name')->nullable(); $table->text('user_last_name')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('products', function (Blueprint $table) { // }); } }; 2024_02_23_171800_add_folder_id_to_companies.php 0000644 00000001215 15233636347 0014663 0 ustar 00 <?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::table('companies', function (Blueprint $table) { $table->bigInteger('folder_id')->unsigned()->nullable(); // $table->foreign('folder_id')->references('id')->on('folders')->onDelete('cascade'); }); } /** * Reverse the migrations. */ public function down(): void { // Schema::dropIfExists('companies'); } }; 2024_06_17_140954_create_password_reset_tokens_table.php 0000644 00000001165 15233636347 0016526 0 ustar 00 <?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('password_resets', function (Blueprint $table) { $table->string('email')->primary(); $table->string('token'); $table->timestamp('created_at')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('password_resets'); } }; 2024_06_06_221616_add_user_id_and_active_to_products_table.php 0000644 00000001224 15233636347 0017605 0 ustar 00 <?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::table('products', function (Blueprint $table) { $table->integer('user_id')->unsigned()->nullable(); $table->integer('active')->default(0)->unsigned()->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('products', function (Blueprint $table) { // }); } }; 2024_02_01_174242_create_folders_table.php 0000644 00000001171 15233636347 0013514 0 ustar 00 <?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('folders', function (Blueprint $table) { $table->id(); $table->string('path'); $table->integer('parent_id')->unsigned()->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('folders'); } }; 2024_02_20_221056_create_admin_notifications_table.php 0000644 00000001620 15233636347 0016073 0 ustar 00 <?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('admin_notifications', function (Blueprint $table) { $table->id(); $table->bigInteger('instigator_id')->unsigned()->nullable(); // $table->foreign('instigator_id')->references('id')->on('users'); $table->text('message')->nullable(); $table->string('cta_label')->nullable(); $table->string('href')->nullable(); $table->timestamp('read_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('admin_notifications'); } }; 2024_07_12_153253_add_expired_and_renew_date_to_users_table.php 0000644 00000001225 15233636347 0017753 0 ustar 00 <?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::table('users', function (Blueprint $table) { $table->integer('expired')->unsigned()->nullable()->default(0); $table->timestamp('renew_date')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('users', function (Blueprint $table) { // }); } }; 2024_02_18_141350_create_users_table.php 0000644 00000001611 15233636347 0013220 0 ustar 00 <?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('users', function (Blueprint $table) { $table->id(); $table->string('first_name'); $table->string('last_name'); $table->string('email')->unique(); $table->string('password'); $table->bigInteger('company_id')->unsigned()->nullable(); // $table->foreign('company_id')->unsigned()->nullable()->references('id')->on('companies')->onDelete('set null'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { // Schema::dropIfExists('users'); } }; 2024_02_23_171727_add_company_id_to_folders.php 0000644 00000001202 15233636347 0014542 0 ustar 00 <?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::table('folders', function (Blueprint $table) { $table->bigInteger('company_id')->unsigned()->nullable(); // $table->foreign('company_id')->references('id')->on('companies')->onDelete('cascade'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('folders'); } }; 2024_06_05_103004_add_label_to_folder_table.php 0000644 00000001062 15233636347 0014452 0 ustar 00 <?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::table('folders', function (Blueprint $table) { $table->string('label')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('folders', function (Blueprint $table) { }); } }; .gitkeep 0000644 00000000000 15233636347 0006177 0 ustar 00 2024_02_01_140201_create_documents_table.php 0000644 00000001176 15233636347 0014050 0 ustar 00 <?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('documents', function (Blueprint $table) { $table->id(); $table->string('path'); $table->integer('product_id')->unsigned()->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('documents'); } }; 2024_02_20_221056_create_user_notifications_table.php 0000644 00000001473 15233636347 0015767 0 ustar 00 <?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('user_notifications', function (Blueprint $table) { $table->id(); $table->bigInteger('company_id')->unsigned()->nullable(); $table->text('message')->nullable(); $table->string('cta_label')->nullable(); $table->string('href')->nullable(); $table->timestamp('read_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('user_notifications'); } }; 2024_06_05_103224_add_active_to_users_table.php 0000644 00000001066 15233636347 0014544 0 ustar 00 <?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::table('users', function (Blueprint $table) { $table->integer('active')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('users', function (Blueprint $table) { // }); } }; 2024_01_30_134820_create_companies_table.php 0000644 00000001120 15233636347 0014025 0 ustar 00 <?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('companies', function (Blueprint $table) { $table->id(); $table->string('name')->unique(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { // Schema::dropIfExists('companies'); } }; 2024_01_19_124312_create_admin_table.php 0000644 00000001212 15233636347 0013143 0 ustar 00 <?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('admin', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('email')->unique(); $table->string('password'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('admin'); } }; 2024_01_31_162455_create_cabin_class_table.php 0000644 00000001350 15233636347 0014323 0 ustar 00 <?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('cabin_class', function (Blueprint $table) { $table->id(); $table->string('name'); $table->bigInteger('company_id')->nullable()->unsigned(); $table->foreign('company_id')->references('id')->on('companies')->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('cabin_class'); } }; 2024_07_09_140651_add_user_id_to_mail_queue_table.php 0000644 00000001115 15233636347 0015715 0 ustar 00 <?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::table('mail_queue', function (Blueprint $table) { $table->integer('user_id')->unsigned()->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('mail_queue', function (Blueprint $table) { // }); } }; 2024_06_18_145926_add_name_to_documents_table.php 0000644 00000001073 15233636347 0015072 0 ustar 00 <?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::table('documents', function (Blueprint $table) { $table->string('name')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('documents', function (Blueprint $table) { // }); } }; 2024_01_31_163439_create_products_table.php 0000644 00000001420 15233636347 0013726 0 ustar 00 <?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('products', function (Blueprint $table) { $table->id(); $table->string('serial_number'); $table->bigInteger('cabin_class_id')->unsigned()->nullable(); // $table->foreign('cabin_class_id')->unsigned()->nullable()->references('id')->on('cabin_class')->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('products'); } };
| ver. 1.4 |
Github
|
.
| PHP 8.2.5 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка