Closed djtimca closed 3 years ago
Thank you, should look like this:
Schema::table('igniter_coupons', function (Blueprint $table) {
$table->string('code')->unique()->change();
});
Got it - now I see what I missed.
Another thing... The filename except the numbers should match the class name. Make the file name more descriptive 2021_02_22_000300_increase_coupon_code_character_limit.php
and the class name to IncreaseCouponCodeCharacterLimit
Removes the length limit of 15 characters on the coupon code from the database. Closes #23
@sampoyigi please validate I've got this right... first time doing a DB migration!