mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-03 15:19:04 +03:00
Don't allow multiple downvotes on one submission
This commit is contained in:
@@ -102,7 +102,9 @@ export class Sqlite implements IDatabase {
|
||||
}
|
||||
|
||||
private static processUpgradeQuery(query: string): string {
|
||||
return query.replace(/^.*--!sqlite-ignore/gm, "");
|
||||
return query
|
||||
.replace(/SERIAL PRIMARY KEY/gi, "INTEGER PRIMARY KEY AUTOINCREMENT")
|
||||
.replace(/^.*--!sqlite-ignore/gm, "");
|
||||
}
|
||||
|
||||
highLoad() {
|
||||
|
||||
Reference in New Issue
Block a user