mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: n1ru4l <14338007+n1ru4l@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
16 lines
441 B
TypeScript
16 lines
441 B
TypeScript
import { type MigrationExecutor } from '../pg-migrator';
|
|
|
|
export default {
|
|
name: '2023.08.03T11.44.36.schema-checks-github-repository.ts',
|
|
run: ({ psql }) => psql`
|
|
ALTER TABLE "schema_checks"
|
|
ADD COLUMN "github_repository" text
|
|
, ADD COLUMN "github_sha" text
|
|
;
|
|
|
|
ALTER TABLE "schema_versions"
|
|
ADD COLUMN "github_repository" text
|
|
, ADD COLUMN "github_sha" text
|
|
;
|
|
`,
|
|
} satisfies MigrationExecutor;
|