Commit 72b56e4
authored
fix(x2a): make migration scripts self-contained (#3248)
* fix(x2a): make migration scripts self-contained
Migration scripts must be self-contained, refactoring project-naming
logic to work in dynamic plugins but still being reused
by the rest of the application.
Signed-off-by: Marek Libra <marek.libra@gmail.com>
* avoid code reuse between migrations and runtime
---------
Signed-off-by: Marek Libra <marek.libra@gmail.com>1 parent 9cc09db commit 72b56e4
2 files changed
Lines changed: 34 additions & 2 deletions
File tree
- workspaces/x2a
- .changeset
- plugins/x2a-backend/migrations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
19 | 46 | | |
20 | 47 | | |
21 | 48 | | |
| |||
36 | 63 | | |
37 | 64 | | |
38 | 65 | | |
39 | | - | |
| 66 | + | |
40 | 67 | | |
41 | 68 | | |
42 | 69 | | |
| |||
0 commit comments