You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rsyscraft here is fix for it [https://github.com//pull/209] @Xethron if you can merge this PR then it will solve a lot of people's issue.
Thank you
When I have generate migration from old db the migration is created successfully but the probem is it is convert enum value as string see below -
integer('id', true); $table->string('order_code'); $table->integer('user_id'); #Check status field not coming with enum values $table->string('status')->default('PENDING'); $table->string('cancelled_by'); $table->string('cancel_reason')->nullable(); $table->string('payment_mode'); $table->decimal('sub_total')->default(0.00); $table->decimal('tax')->default(0.00); $table->decimal('delivery_charge')->default(0.00); $table->decimal('discount_amt')->default(0.00); $table->decimal('total_amount', 10)->default(0.00); $table->decimal('merchant_pay', 10)->default(0.00); $table->decimal('comission', 10)->default(0.00)->comment('bikemango comission'); $table->string('payment_status')->default('PENDING'); $table->string('payment_id')->nullable(); $table->integer('discount_id')->default(0); $table->text('delivery_note', 65535)->nullable(); $table->text('order_title', 65535)->nullable(); $table->dateTime('schedule_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('fdl_orders'); } }The text was updated successfully, but these errors were encountered: