console/packages/migrations/src/actions/2021-03-08T11-02-26.urls.ts
Copilot aac23596ec
refactor: shared internal postgres package around slonik (#7887)
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>
2026-03-27 10:20:05 +01:00

18 lines
292 B
TypeScript

import { type MigrationExecutor } from '../pg-migrator';
export default {
name: '2021-03-08T11-02-26.urls.sql',
run: ({ psql }) => psql`
--urls (up)
ALTER TABLE
projects
ALTER COLUMN
build_url
TYPE
TEXT,
ALTER COLUMN
validation_url
TYPE
TEXT;
`,
} satisfies MigrationExecutor;