mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 12:43:26 +00:00
Swap to using ArrayType
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { Entity, PrimaryKey, Property } from '@mikro-orm/core';
|
import { ArrayType, Entity, PrimaryKey, Property } from '@mikro-orm/core';
|
||||||
|
|
||||||
@Entity({ tableName: 'user_settings' })
|
@Entity({ tableName: 'user_settings' })
|
||||||
export class UserSettings {
|
export class UserSettings {
|
||||||
@@ -14,7 +14,7 @@ export class UserSettings {
|
|||||||
@Property({ name: 'default_subtitle_language', nullable: true })
|
@Property({ name: 'default_subtitle_language', nullable: true })
|
||||||
defaultSubtitleLanguage?: string | null;
|
defaultSubtitleLanguage?: string | null;
|
||||||
|
|
||||||
@Property({ name: 'proxy_urls', nullable: true, type: 'text[]' })
|
@Property({ name: 'proxy_urls', type: ArrayType, nullable: true })
|
||||||
proxyUrls?: string[] | null;
|
proxyUrls?: string[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user