fix: skip macOS ._* artifact files in migrations runner
Some checks failed
Deploy to Production / deploy (push) Has been cancelled
Some checks failed
Deploy to Production / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,7 @@ export async function runMigrations() {
|
|||||||
`)
|
`)
|
||||||
|
|
||||||
const files = fs.readdirSync(migrationsDir)
|
const files = fs.readdirSync(migrationsDir)
|
||||||
.filter(f => f.endsWith('.sql'))
|
.filter(f => f.endsWith('.sql') && !f.startsWith('._'))
|
||||||
.sort()
|
.sort()
|
||||||
|
|
||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
|
|||||||
Reference in New Issue
Block a user