Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

103_IssueTrackerAdditionalScopes.ts

9 lines294 Bytes

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 yield* sql`
7 ALTER TABLE issue_tracker_bindings ADD COLUMN additional_scopes TEXT NOT NULL DEFAULT '[]'
8 `;
9});