Skip to content

Commit

Permalink
Add host_hash column to request_partitioned
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Dec 5, 2024
1 parent 238a8fe commit 5147dbc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions services/feed-requests/migrations/Migration20241202231256.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Migration } from '@mikro-orm/migrations';

export class Migration20241202231256 extends Migration {
async up(): Promise<void> {
this.addSql('ALTER TABLE request_partitioned ADD COLUMN host_hash TEXT DEFAULT NULL');
}

async down(): Promise<void> {
this.addSql('ALTER TABLE request_partitioned DROP COLUMN host_hash TEXT DEFAULT NULL');
}
}

0 comments on commit 5147dbc

Please sign in to comment.