From 60a3cc1f729151a331d6bdaf100e89e4d62252d5 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 7 Nov 2020 14:11:41 +0100 Subject: [PATCH] Remove migration. --- .../2020_10_31_063328_changes_for_v550.php | 76 ------------------- 1 file changed, 76 deletions(-) delete mode 100644 database/migrations/2020_10_31_063328_changes_for_v550.php diff --git a/database/migrations/2020_10_31_063328_changes_for_v550.php b/database/migrations/2020_10_31_063328_changes_for_v550.php deleted file mode 100644 index e8a4034930..0000000000 --- a/database/migrations/2020_10_31_063328_changes_for_v550.php +++ /dev/null @@ -1,76 +0,0 @@ -bigIncrements('id'); - $table->string('queue'); - $table->longText('payload'); - $table->tinyInteger('attempts')->unsigned(); - $table->tinyInteger('reserved')->unsigned(); - $table->unsignedInteger('reserved_at')->nullable(); - $table->unsignedInteger('available_at'); - $table->unsignedInteger('created_at'); - $table->index(['queue', 'reserved', 'reserved_at']); - } - ); - Schema::table( - 'failed_jobs', function (Blueprint $table) { - $table->dropColumn('uuid'); - } - ); - Schema::dropIfExists('failed_jobs'); - } - - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::drop('jobs'); - // this is the NEW table - Schema::create( - 'jobs', function (Blueprint $table) { - $table->bigIncrements('id'); - $table->string('queue')->index(); - $table->longText('payload'); - $table->unsignedTinyInteger('attempts'); - $table->unsignedInteger('reserved_at')->nullable(); - $table->unsignedInteger('available_at'); - $table->unsignedInteger('created_at'); - } - ); - - Schema::create( - 'failed_jobs', function (Blueprint $table) { - $table->id(); - $table->string('uuid')->unique(); - $table->text('connection'); - $table->text('queue'); - $table->longText('payload'); - $table->longText('exception'); - $table->timestamp('failed_at')->useCurrent(); - } - ); - } -}