add new lagin desktop
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Column, Entity, PrimaryColumn } from 'typeorm';
|
||||
|
||||
@Entity('platform_settings')
|
||||
export class PlatformSettingsEntity {
|
||||
@PrimaryColumn({ type: 'smallint', default: 1 })
|
||||
id!: number;
|
||||
|
||||
@Column({ name: 'login_hero_image_url', type: 'varchar', length: 500, nullable: true })
|
||||
loginHeroImageUrl!: string | null;
|
||||
|
||||
@Column({
|
||||
name: 'updated_at',
|
||||
type: 'timestamptz',
|
||||
default: () => 'CURRENT_TIMESTAMP',
|
||||
})
|
||||
updatedAt!: Date;
|
||||
}
|
||||
Reference in New Issue
Block a user