File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ npm install -g mkcert
140
140
2 . Run the following script
141
141
142
142
``` bash
143
- npm run cert
143
+ npm run cert:mac
144
144
```
145
145
146
146
### Linux
Original file line number Diff line number Diff line change
1
+ import {
2
+ Entity ,
3
+ PrimaryColumn ,
4
+ Column ,
5
+ BaseEntity ,
6
+ PrimaryGeneratedColumn ,
7
+ } from 'typeorm' ;
8
+
9
+ @Entity ( )
10
+ export class User extends BaseEntity {
11
+ @PrimaryColumn ( )
12
+ id ! : number ;
13
+
14
+ @Column ( )
15
+ full_name ! : string ;
16
+
17
+ @Column ( )
18
+ sub ! : string ;
19
+
20
+ @Column ( )
21
+ email ! : string ;
22
+
23
+ @Column ( )
24
+ picture ! : string ;
25
+
26
+ @Column ( )
27
+ pg_schema ! : string ;
28
+
29
+ @Column ( )
30
+ password ! : string ;
31
+ }
32
+
33
+ @Entity ( )
34
+ export class UserPost extends BaseEntity {
35
+ @PrimaryGeneratedColumn ( )
36
+ id ! : number ;
37
+
38
+ @Column ( )
39
+ user_name ! : string ;
40
+ }
You can’t perform that action at this time.
0 commit comments