diff --git a/database/migrations/2024_09_30_000442_update_voucher_sets_add_currency_country_id.php b/database/migrations/2024_09_30_000442_update_voucher_sets_add_currency_country_id.php new file mode 100644 index 0000000..56382bb --- /dev/null +++ b/database/migrations/2024_09_30_000442_update_voucher_sets_add_currency_country_id.php @@ -0,0 +1,33 @@ +unsignedBigInteger('currency_country_id') + ->nullable() + ->index('vs_cci') + ->after('voucher_template_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + + Schema::table('voucher_sets', function (Blueprint $table) { + $table->dropColumn('currency_country_id'); + }); + } +};