Skip to content

Commit 750cb9e

Browse files
committed
Revert "Delete src/migrations/20251229_delete_feeds.ts"
This reverts commit 0aa4fb9.
1 parent 0aa4fb9 commit 750cb9e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// import { type MigrateUpArgs, sql } from '@payloadcms/db-postgres'
2+
3+
export const up = async () => {}
4+
5+
// export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
6+
// await db.execute(sql`
7+
// ALTER TABLE feeds
8+
// DROP COLUMN key;
9+
// `)
10+
// }
11+
12+
// export async function up({ db, payload, req }: MigrateUpArgs): Promise<void> {
13+
// await db.execute(sql`
14+
// ALTER TABLE _posts_v
15+
// DROP COLUMN version_title;
16+
// `)
17+
// await db.execute(sql`
18+
// ALTER TABLE _posts_v
19+
// DROP COLUMN version_content;
20+
// `)
21+
22+
// await db.execute(sql`
23+
// ALTER TABLE posts
24+
// DROP COLUMN title;
25+
// `)
26+
// await db.execute(sql`
27+
// ALTER TABLE posts
28+
// DROP COLUMN content;
29+
// `)
30+
// }

0 commit comments

Comments
 (0)