"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.up = up;
exports.down = down;
const kysely_1 = require("kysely");
async function up(db) {
    await (0, kysely_1.sql) `ALTER TABLE "session" ADD "oauthSid" character varying;`.execute(db);
    await (0, kysely_1.sql) `CREATE INDEX "session_oauthSid_idx" ON "session" ("oauthSid");`.execute(db);
}
async function down(db) {
    await (0, kysely_1.sql) `DROP INDEX "session_oauthSid_idx";`.execute(db);
    await (0, kysely_1.sql) `ALTER TABLE "session" DROP COLUMN "oauthSid";`.execute(db);
}
//# sourceMappingURL=1776442031775-AddOauthSidToSession.js.map