Skip to content

Commit

Permalink
interim fix: disable foreign keys on server
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelstroschein committed Dec 16, 2024
1 parent ffd8650 commit a49d72b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export const createLsaInMemoryEnvironment = (): LsaEnvironment => {
// don't sync the server with itself
keyValues: [{ key: "#lix_sync", value: "false" }],
});

lix.sqlite.exec("PRAGMA foreign_keys = OFF;");

openLixes.set(args.id, lix);
}

Expand Down

0 comments on commit a49d72b

Please sign in to comment.