refactor: rename geodata pk constraint to match runtime constraint name (#19856)

This commit is contained in:
Zack Pollard
2025-07-10 18:18:51 +01:00
committed by GitHub
parent 4ddd3764b4
commit 39c95f1280
2 changed files with 10 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
import { Column, Index, PrimaryColumn, Table, Timestamp } from 'src/sql-tools';
@Table({ name: 'geodata_places' })
@Table({ name: 'geodata_places', primaryConstraintName: 'geodata_places_pkey' })
@Index({
name: 'idx_geodata_places_alternate_names',
using: 'gin',