Commit 41966c11 by Vladislav

#20364 Загрузка и синхронизация расширений

1 parent c34cf812
...@@ -23,8 +23,6 @@ class CreateGoalAdExtensionsTable extends Migration ...@@ -23,8 +23,6 @@ class CreateGoalAdExtensionsTable extends Migration
$table->timestamp('external_updated_at')->nullable(); $table->timestamp('external_updated_at')->nullable();
$table->timestamp('updated_need')->nullable(); $table->timestamp('updated_need')->nullable();
$table->timestamps();
$table->foreign('ad_extension_id')->references('id')->on('ad_extensions') $table->foreign('ad_extension_id')->references('id')->on('ad_extensions')
->cascadeOnDelete(); ->cascadeOnDelete();
$table->foreign('token_id')->references('id')->on('tokens') $table->foreign('token_id')->references('id')->on('tokens')
......
...@@ -16,8 +16,6 @@ class CreateGoalAdvertisementGoalAdExtensionsTable extends Migration ...@@ -16,8 +16,6 @@ class CreateGoalAdvertisementGoalAdExtensionsTable extends Migration
Schema::create('goal_advertisement_goal_ad_extensions', function (Blueprint $table) { Schema::create('goal_advertisement_goal_ad_extensions', function (Blueprint $table) {
$table->id(); $table->id();
$table->id();
$table->bigInteger('goal_advertisement_id')->unsigned(); $table->bigInteger('goal_advertisement_id')->unsigned();
$table->bigInteger('goal_ad_extension_id')->unsigned(); $table->bigInteger('goal_ad_extension_id')->unsigned();
...@@ -27,8 +25,6 @@ class CreateGoalAdvertisementGoalAdExtensionsTable extends Migration ...@@ -27,8 +25,6 @@ class CreateGoalAdvertisementGoalAdExtensionsTable extends Migration
->cascadeOnDelete(); ->cascadeOnDelete();
$table->timestamps(); $table->timestamps();
$table->timestamps();
}); });
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!