Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarendorff committed Aug 23, 2024
1 parent 6913342 commit 3ec2f07
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/web/src/migrations/20231202_131425.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
type MigrateUpArgs,
type MigrateDownArgs,
sql,
} from '@payloadcms/db-postgres';
import {sql} from 'drizzle-orm';

export async function up({payload}: MigrateUpArgs): Promise<void> {
await payload.db.drizzle.execute(sql`
2 changes: 1 addition & 1 deletion packages/web/src/migrations/20231217_141637.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
type MigrateUpArgs,
type MigrateDownArgs,
sql,
} from '@payloadcms/db-postgres';
import {sql} from 'drizzle-orm';

export async function up({payload}: MigrateUpArgs): Promise<void> {
await payload.db.drizzle.execute(sql`
2 changes: 1 addition & 1 deletion packages/web/src/migrations/20231223_201544.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
type MigrateUpArgs,
type MigrateDownArgs,
sql,
} from '@payloadcms/db-postgres';
import {sql} from 'drizzle-orm';

export async function up({payload}: MigrateUpArgs): Promise<void> {
await payload.db.drizzle.execute(sql`
2 changes: 1 addition & 1 deletion packages/web/src/migrations/20240106_233717.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
type MigrateUpArgs,
type MigrateDownArgs,
sql,
} from '@payloadcms/db-postgres';
import {sql} from 'drizzle-orm';

export async function up({payload}: MigrateUpArgs): Promise<void> {
await payload.db.drizzle.execute(sql`
2 changes: 1 addition & 1 deletion packages/web/src/migrations/20240112_181047.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
type MigrateUpArgs,
type MigrateDownArgs,
sql,
} from '@payloadcms/db-postgres';
import {sql} from 'drizzle-orm';

export async function up({payload}: MigrateUpArgs): Promise<void> {
await payload.db.drizzle.execute(sql`
2 changes: 1 addition & 1 deletion packages/web/src/migrations/20240127_175425.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
type MigrateUpArgs,
type MigrateDownArgs,
sql,
} from '@payloadcms/db-postgres';
import {sql} from 'drizzle-orm';

export async function up({payload}: MigrateUpArgs): Promise<void> {
await payload.db.drizzle.execute(sql`

0 comments on commit 3ec2f07

Please sign in to comment.