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
[6.x] Database Orders: Store status log in its own table (#983)
* Store status log events in their own database table
* Fix querying orders by date
* Refactor order date accessor
* Fix styling
* Re-work the "run update scripts" command
* Publish status log migration upon upgrade
* swap around the steps
* Migrate status log events to new table
* Ensure gateway data is copied across properly when migrating orders to a database
* Move status log logic until after the order model has been created
---------
Co-authored-by: duncanmcclean <duncanmcclean@users.noreply.github.com>
If you have excluded your orders from Git or you're storing your orders in a database, you will need to re-run this command after deploying Simple Commerce v6.
33
40
:::
34
41
35
-
**4.** If you're storing your orders in the database, you should uninstall & re-install Runway. It has moved to the Rad Pack:
36
-
37
-
```
38
-
composer remove doublethreedigital/runway
39
-
composer require statamic-rad-pack/runway
40
-
```
41
-
42
42
**5.** You may also want to clear your route & view caches:
43
43
44
44
```
@@ -56,6 +56,14 @@ php artisan view:clear
56
56
57
57
If you're storing orders & customers in the database, you should also follow the [Runway v6 Upgrade Guide](https://runway.duncanmcclean.com/upgrade-guides/v5-x-to-v6-0).
58
58
59
+
### High: Database Migrations
60
+
61
+
If you're storing orders in the database, you will need to run the migrations, both locally & when deploying to any other environments:
62
+
63
+
```
64
+
php artisan migrate
65
+
```
66
+
59
67
## High: References to gateways & shipping methods in orders have changed
60
68
61
69
Previously, when referencing a Payment Gateway or Shipping Method in an order, Simple Commerce would use its fully-qualified class name, like so:
0 commit comments