Commit d692577
fix: use programmatic Drizzle migrations and remove Prisma remnants
Replace `bunx drizzle-kit migrate` with a standalone migration script
using drizzle-orm's built-in migrate() function, fixing the production
Docker deployment where drizzle-kit (a devDependency) was unavailable.
Also removes the prisma-archive directory and cleans up all Prisma
references from .env.example, eslint.config.js, and README.md.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7801952 commit d692577
17 files changed
Lines changed: 44 additions & 226 deletions
File tree
- prisma-archive
- migrations
- 20250716060338_init
- 20250716061733_rename_motivation_channel_to_motivation_channel_id
- 20250716063848_refactor_suggestion_quote_relation
- 20250716091429_add_discord_activity_table
- 20250717061117_update_discord_activity_enum
- 20250910203514_remove_guild_id_from_suggestion_quotes
- 20250910203548_add_motivation_timing_fields
- 20250916194116_update_guild_timezone_default
- src/database
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 1 | | |
9 | 2 | | |
10 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
| |||
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
124 | | - | |
| 123 | + | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
| 138 | + | |
140 | 139 | | |
141 | 140 | | |
142 | | - | |
| 141 | + | |
143 | 142 | | |
144 | 143 | | |
145 | | - | |
| 144 | + | |
146 | 145 | | |
147 | 146 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 147 | + | |
155 | 148 | | |
156 | 149 | | |
157 | 150 | | |
158 | 151 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
172 | 164 | | |
173 | 165 | | |
174 | 166 | | |
175 | 167 | | |
176 | 168 | | |
177 | 169 | | |
178 | 170 | | |
179 | | - | |
180 | | - | |
| 171 | + | |
181 | 172 | | |
182 | | - | |
| 173 | + | |
183 | 174 | | |
184 | 175 | | |
185 | 176 | | |
| |||
196 | 187 | | |
197 | 188 | | |
198 | 189 | | |
199 | | - | |
| 190 | + | |
200 | 191 | | |
201 | | - | |
202 | 192 | | |
203 | 193 | | |
204 | 194 | | |
205 | 195 | | |
206 | 196 | | |
207 | | - | |
| 197 | + | |
208 | 198 | | |
209 | 199 | | |
210 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
| |||
Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 19 deletions
This file was deleted.
0 commit comments