Skip to content

Commit 533cff5

Browse files
committed
Marked DB update to 4.5.3 as Experience and Commerce only (#2407)
* Marked DB update to 4.5.3 as Experience and Commerce only * Fixed Vale errors * Applied review remarks
1 parent 406d6ff commit 533cff5

File tree

2 files changed

+45
-12
lines changed

2 files changed

+45
-12
lines changed

docs/update_and_migration/from_4.4/update_from_4.4.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,31 +248,31 @@ Run the following scripts:
248248

249249
=== "MySQL"
250250

251-
``` sql
251+
``` bash
252252
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.1-to-4.5.2.sql
253253
```
254254

255255
=== "PostgreSQL"
256256

257-
``` sql
257+
``` bash
258258
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.1-to-4.5.2.sql
259259
```
260260

261261
### v4.5.3
262262

263-
#### Database update
263+
#### Database update [[% include 'snippets/experience_badge.md' %]] [[% include 'snippets/commerce_badge.md' %]]
264264

265265
Run the following scripts:
266266

267267
=== "MySQL"
268268

269-
``` sql
269+
``` bash
270270
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.2-to-4.5.3.sql
271271
```
272272

273273
=== "PostgreSQL"
274274

275-
``` sql
275+
``` bash
276276
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.2-to-4.5.3.sql
277277
```
278278

@@ -284,12 +284,12 @@ Run the following scripts:
284284

285285
=== "MySQL"
286286

287-
``` sql
287+
``` bash
288288
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.3-to-4.5.4.sql
289289
```
290290

291291
=== "PostgreSQL"
292292

293-
``` sql
293+
``` bash
294294
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.3-to-4.5.4.sql
295295
```

docs/update_and_migration/from_4.5/update_from_4.5.md

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,59 @@ Run:
3232
composer require ibexa/commerce:[[= latest_tag_4_5 =]] --with-all-dependencies --no-scripts
3333
```
3434

35-
### Update the database
35+
### v4.5.2
3636

37-
Depending on the version you started from, you may have several scripts to run:
37+
#### Database update
38+
39+
Run the following scripts:
3840

3941
=== "MySQL"
4042

4143
``` bash
4244
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.1-to-4.5.2.sql
43-
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.2-to-4.5.3.sql
44-
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.3-to-4.5.4.sql
4545
```
4646

4747
=== "PostgreSQL"
4848

4949
``` bash
5050
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.1-to-4.5.2.sql
51+
```
52+
53+
### v4.5.3
54+
55+
#### Database update [[% include 'snippets/experience_badge.md' %]] [[% include 'snippets/commerce_badge.md' %]]
56+
57+
Run the following scripts:
58+
59+
=== "MySQL"
60+
61+
``` bash
62+
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.2-to-4.5.3.sql
63+
```
64+
65+
=== "PostgreSQL"
66+
67+
``` bash
5168
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.2-to-4.5.3.sql
52-
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.3-to-4.5.4.sql
5369
```
5470

71+
### v4.5.4
72+
73+
#### Database update
74+
75+
Run the following scripts:
76+
77+
=== "MySQL"
78+
79+
``` bash
80+
mysql -u <username> -p <password> <database_name> < vendor/ibexa/installer/upgrade/db/mysql/ibexa-4.5.3-to-4.5.4.sql
81+
```
82+
83+
=== "PostgreSQL"
84+
85+
``` bash
86+
psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.5.3-to-4.5.4.sql
87+
```
5588
## Update from v4.5.latest to v4.6
5689

5790
When you have the latest version of v4.5, you can update to v4.6.

0 commit comments

Comments
 (0)