mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
18 lines
No EOL
438 B
SQL
18 lines
No EOL
438 B
SQL
BEGIN TRANSACTION;
|
|
|
|
CREATE TABLE IF NOT EXISTS "licenseKeys" (
|
|
"licenseKey" TEXT NOT NULL PRIMARY KEY,
|
|
"time" INTEGER NOT NULL,
|
|
"type" TEXT NOT NULL
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS "oauthLicenseKeys" (
|
|
"licenseKey" TEXT NOT NULL PRIMARY KEY,
|
|
"accessToken" TEXT NOT NULL,
|
|
"refreshToken" TEXT NOT NULL,
|
|
"expiresIn" INTEGER NOT NULL
|
|
);
|
|
|
|
UPDATE "config" SET value = 11 WHERE key = 'version';
|
|
|
|
COMMIT; |