mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-08-28 19:48:01 +08:00
fix: run mail flags migration only for older schemas
This commit is contained in:
@@ -206,7 +206,7 @@ export default {
|
||||
await c.env.DB.exec(`ALTER TABLE raw_mails ADD COLUMN raw_blob BLOB;`);
|
||||
}
|
||||
}
|
||||
if (version && version <= "v0.0.8") {
|
||||
if (version && version <= "v0.0.7") {
|
||||
await c.env.DB.exec(`
|
||||
CREATE TABLE IF NOT EXISTS mail_flags (
|
||||
mail_id INTEGER NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user