diff --git a/database/migrations/2022_10_21_155721_create_syndication_targets_table.php b/database/migrations/2022_10_21_155721_create_syndication_targets_table.php index 01b3d10b..c5d5793c 100644 --- a/database/migrations/2022_10_21_155721_create_syndication_targets_table.php +++ b/database/migrations/2022_10_21_155721_create_syndication_targets_table.php @@ -17,12 +17,12 @@ return new class extends Migration $table->id(); $table->string('uid'); $table->string('name'); - $table->string('service_name'); - $table->string('service_url'); - $table->string('service_photo'); - $table->string('user_name'); - $table->string('user_url'); - $table->string('user_photo'); + $table->string('service_name')->nullable(); + $table->string('service_url')->nullable(); + $table->string('service_photo')->nullable(); + $table->string('user_name')->nullable(); + $table->string('user_url')->nullable(); + $table->string('user_photo')->nullable(); $table->timestamps(); }); } diff --git a/database/migrations/2022_10_24_160127_make_some_syndication_data_optional.php b/database/migrations/2022_10_24_160127_make_some_syndication_data_optional.php deleted file mode 100644 index 901305a2..00000000 --- a/database/migrations/2022_10_24_160127_make_some_syndication_data_optional.php +++ /dev/null @@ -1,37 +0,0 @@ -string('service_name')->nullable()->change(); - $table->string('service_url')->nullable()->change(); - $table->string('service_photo')->nullable()->change(); - $table->string('user_name')->nullable()->change(); - $table->string('user_url')->nullable()->change(); - $table->string('user_photo')->nullable()->change(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('syndication_targets', function (Blueprint $table) { - // - }); - } -};