patronage / bubs-next

Headless Wordpress + Next.js Project scaffolding
https://bubs-next.vercel.app
MIT License
37 stars 10 forks source link

fix: exclude local.sql when calculating recent file to import #279

Closed ccorda closed 1 year ago

ccorda commented 1 year ago

Currently, if you:

1) Export a new db dump 2) Run import, DB dump then local.sql.

However if after you export, you then save local.sql with some change. When you go to import, it will think local.sql is the most recent file to import, and it'll import it twice.

This fixes that by calculating most recent as the last modified file not named local.sql.

closes #278

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **bubs-next** | ⬜️ Ignored ([Inspect](https://vercel.com/patronage/bubs-next/7US4g9U93DPfQPYUTxR6yZYX7Wqa)) | | Apr 26, 2023 5:24pm |