Open History to see the last commit
1import * as Effect from "effect/Effect";
2import * as SqlClient from "effect/sql/SqlClient";
3
4export default Effect.gen(function* () {
5 const sql = yield* SqlClient.SqlClient;
6
7 // Whether the link's session was issued as a link, which the peer fences.
8 // Links stored before it are not, and must be made again.
9 yield* sql`
10 ALTER TABLE peer_environment_links ADD COLUMN fenced INTEGER NOT NULL DEFAULT 0
11 `;
12});