Refacor electron app and add migrations
This commit is contained in:
10
electron/entities/MetaEntity.ts
Normal file
10
electron/entities/MetaEntity.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Entity, PrimaryColumn, Column } from 'typeorm';
|
||||
|
||||
@Entity('meta')
|
||||
export class MetaEntity {
|
||||
@PrimaryColumn('text')
|
||||
key!: string;
|
||||
|
||||
@Column('text', { nullable: true })
|
||||
value!: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user