mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Remove attachments and system files from document download as template (#729)
This commit is contained in:
parent
874eb7e56e
commit
73ab1de6e4
@ -214,6 +214,8 @@ async function removeData(filename: string) {
|
||||
for (const tableId of tableIds) {
|
||||
await db.run(`DELETE FROM ${quoteIdent(tableId)}`);
|
||||
}
|
||||
await db.run(`DELETE FROM _grist_Attachments`);
|
||||
await db.run(`DELETE FROM _gristsys_Files`);
|
||||
await db.close();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user