Which release line(s) does this affect?
2.x
Lunar version
2.x - 32ed8e6
PHP version
8.5.9
Laravel version
13.29.0
Database driver & version
MariaDB 11.8.8
Expected behaviour
After upgrading an existing Lunar 2.x database and running the documented migration process, its schema should match a fresh installation.
Specifically:
order_lines.refunded_quantity should be added as an unsigned integer with a default of 0.
- Existing order-line records should be preserved and receive the default value.
- A line-item refund should create the refund transaction and corresponding
refund_lines records, increment refunded_quantity, and dispatch OrderRefunded.
Actual behaviour
After upgrading an existing Lunar 2.x database and running the documented migration process, its schema should match a fresh installation.
Specifically:
order_lines.refunded_quantity should be added as an unsigned integer with a default of 0.
- Existing order-line records should be preserved and receive the default value.
- A line-item refund should create the refund transaction and corresponding
refund_lines records, increment refunded_quantity, and dispatch OrderRefunded.
Minimal reproduction steps
After upgrading an existing Lunar 2.x database and running the documented migration process, its schema should match a fresh installation.
Specifically:
order_lines.refunded_quantity should be added as an unsigned integer with a default of 0.
- Existing order-line records should be preserved and receive the default value.
- A line-item refund should create the refund transaction and corresponding
refund_lines records, increment refunded_quantity, and dispatch OrderRefunded.
Which release line(s) does this affect?
2.x
Lunar version
2.x - 32ed8e6
PHP version
8.5.9
Laravel version
13.29.0
Database driver & version
MariaDB 11.8.8
Expected behaviour
After upgrading an existing Lunar 2.x database and running the documented migration process, its schema should match a fresh installation.
Specifically:
order_lines.refunded_quantityshould be added as an unsigned integer with a default of0.refund_linesrecords, incrementrefunded_quantity, and dispatchOrderRefunded.Actual behaviour
After upgrading an existing Lunar 2.x database and running the documented migration process, its schema should match a fresh installation.
Specifically:
order_lines.refunded_quantityshould be added as an unsigned integer with a default of0.refund_linesrecords, incrementrefunded_quantity, and dispatchOrderRefunded.Minimal reproduction steps
After upgrading an existing Lunar 2.x database and running the documented migration process, its schema should match a fresh installation.
Specifically:
order_lines.refunded_quantityshould be added as an unsigned integer with a default of0.refund_linesrecords, incrementrefunded_quantity, and dispatchOrderRefunded.