Skip to content

Commit c9c6d05

Browse files
authored
fix: add owner index on subdomains table (#1323)
1 parent 0842441 commit c9c6d05

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* eslint-disable @typescript-eslint/camelcase */
2+
import { MigrationBuilder, ColumnDefinitions } from 'node-pg-migrate';
3+
4+
export const shorthands: ColumnDefinitions | undefined = undefined;
5+
6+
export async function up(pgm: MigrationBuilder): Promise<void> {
7+
pgm.createIndex('subdomains', 'owner');
8+
}

0 commit comments

Comments
 (0)