fix: use ON CONFLICT DO NOTHING in migration; replace launcher.ps1 with tested version (SID fix, StrictHostKeyChecking=no, BatchMode=yes, ConnectTimeout)
This commit is contained in:
1 parent
32517999f3
commit
1d1d2ab2ee
2 files changed
+40
-32
No files matched your search
@@ -219,7 +219,7 @@ class DashboardDatabaseService:
|
||||
for row in old_rows:
|
||||
vals = [row[c] for c in cols]
|
||||
self.execute(
|
||||
f"INSERT INTO {table} ({col_names}) VALUES ({placeholders})",
|
||||
f"INSERT INTO {table} ({col_names}) VALUES ({placeholders}) ON CONFLICT DO NOTHING",
|
||||
vals,
|
||||
)
|
||||
migrated = True
|
||||
|
||||
Reference in new issue
Block a user