mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 17:24:44 +12:00
fix: conflict resolution
This commit is contained in:
parent
8f432400d8
commit
00063912ee
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ for await (const file of globber.globGenerator()) {
|
|||
await pool.sql`insert into documentation (name, version, url) values (${name.replace(
|
||||
'@discordjs/',
|
||||
'',
|
||||
)}, ${version}, ${url}) on conflict (name, version, url) do update set url = EXCLUDED.url`;
|
||||
)}, ${version}, ${url}) on conflict (name, version) do update set url = EXCLUDED.url`;
|
||||
} catch (error) {
|
||||
const err = error as Error;
|
||||
console.log(err.message);
|
||||
|
|
Loading…
Reference in a new issue