Skip to content
This repository has been archived by the owner on Feb 21, 2025. It is now read-only.

Commit

Permalink
Merge branch 'main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluerberry committed Nov 19, 2024
2 parents d798daf + b331999 commit ab20230
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions prisma/migrations/20241116131338_ordered_fields/migration.sql

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
ALTER TABLE "Course" ADD COLUMN "unchanged" BOOLEAN NOT NULL DEFAULT true;

-- AlterTable
ALTER TABLE "Domain" ADD COLUMN "unchanged" BOOLEAN NOT NULL DEFAULT true;
ALTER TABLE "Domain" ADD COLUMN "unchanged" BOOLEAN NOT NULL DEFAULT true,
ALTER COLUMN "order" DROP DEFAULT;

-- AlterTable
ALTER TABLE "Graph" ADD COLUMN "unchanged" BOOLEAN NOT NULL DEFAULT true;
Expand Down
9 changes: 8 additions & 1 deletion src/lib/server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,12 @@ export const { handle, signIn, signOut } = SvelteKitAuth({
adapter: PrismaAdapter(prisma),
secret: env.AUTH_SECRET,
debug: Boolean(env.DEBUG),
trustHost: true
trustHost: true,

callbacks: {
// ¯\_(ツ)_/¯
session({ session }) {
return session;
}
}
});

0 comments on commit ab20230

Please sign in to comment.