Commit 36f4721
authored
Quickstart: run migrations after correcting the join-table migration (#8318)
The CMS quickstart bundled `bin/cake migrations migrate` in the same
copy-paste block as the bake commands. The baked articles_tags migration
needs a manual fix first (the composite primary key columns are generated
as auto-increment, which MySQL rejects), but that warning came after the
migrate step. Copying the whole block ran migrate before the fix and failed.
Move the migrate step to after the composite primary key warning so the
order is: bake, correct the migration, then migrate.1 parent 6537472 commit 36f4721
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
| |||
120 | 117 | | |
121 | 118 | | |
122 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
0 commit comments