|
|
@@ -14,7 +14,7 @@ return new class extends Migration
|
|
|
Schema::table('invoices', function (Blueprint $table) {
|
|
|
$table->string('giftcard_number', 191)->nullable()->after('grand_total'); // Choose the appropriate position for the column
|
|
|
$table->decimal('giftcard_amount', 10, 2)->nullable()->after('giftcard_number'); // Using 'nullable' because not all invoices may use a giftcard
|
|
|
- $table->decimal('base_giftcard_amount', 10, 2)->nullable()->after('base_giftcard_amount'); // Using 'nullable' because not all invoices may use a giftcard
|
|
|
+ $table->decimal('base_giftcard_amount', 10, 2)->nullable()->after('giftcard_amount'); // Using 'nullable' because not all invoices may use a giftcard
|
|
|
});
|
|
|
}
|
|
|
|