diff --git a/database/migrations/2021_12_15_000000_add_new_columns_to_tables.php b/database/migrations/2021_12_15_000000_add_new_columns_to_tables.php new file mode 100644 index 0000000..49147e6 --- /dev/null +++ b/database/migrations/2021_12_15_000000_add_new_columns_to_tables.php @@ -0,0 +1,37 @@ +string('full_name')->nullable(); + }); + + Schema::table('payku_payments', function (Blueprint $table) { + $table->string('authorization_code')->nullable(); + $table->string('payment_key')->nullable(); + $table->string('transaction_key')->nullable(); + $table->date('deposit_date')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('payku_payments'); + } +}