Commit f5e70c6
authored
fix(snaplet): add snaplet target DB var to SNAPSHOT_PATHs (#25)
Follow up to a previous PR
#13 where support for
`SNAPLET_TARGET_DB_NAME` was added, where there are use cases when using
the same Taskfile commands, but for different DB connections and DB
names.
The `SNAPSHOT_PATH` where the snapshots are stored, did not have the
`SNAPLET_TARGET_DB_NAME` identifier. This PR adds that.
This is needed because if storing multiple DB snapshots, all snapshots
are stored in the same directory of the .SNAPSHOT_ENV
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Updated snapshot storage paths to include the database name for
improved organization when downloading or restoring snapshots.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 10973ca commit f5e70c6
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
130 | | - | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
144 | | - | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
0 commit comments