mirror of
https://github.com/immich-app/immich.git
synced 2025-12-29 01:11:52 +03:00
20 lines
499 B
TypeScript
20 lines
499 B
TypeScript
import { Column, PrimaryGeneratedColumn, Table } from 'src/sql-tools';
|
|
|
|
@Table({ name: 'naturalearth_countries' })
|
|
export class NaturalEarthCountriesTable {
|
|
@PrimaryGeneratedColumn({ strategy: 'identity' })
|
|
id!: number;
|
|
|
|
@Column({ type: 'character varying', length: 50 })
|
|
admin!: string;
|
|
|
|
@Column({ type: 'character varying', length: 3 })
|
|
admin_a3!: string;
|
|
|
|
@Column({ type: 'character varying', length: 50 })
|
|
type!: string;
|
|
|
|
@Column({ type: 'polygon' })
|
|
coordinates!: string;
|
|
}
|