File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ TODO.md
18
18
logs.txt
19
19
.idea /
20
20
secret.md
21
- app.env
21
+ tmp /
Original file line number Diff line number Diff line change
1
+ POSTGRES_HOST = 127.0.0.1
2
+ POSTGRES_USER = postgres
3
+ POSTGRES_PASSWORD = password123
4
+ POSTGRES_DB = golang-gorm
5
+ POSTGRES_PORT = 6500
6
+
7
+ PORT = 8000
8
+ CLIENT_ORIGIN = http://localhost:3000
9
+
10
+ EMAIL_FROM = admin@admin.com
11
+ SMTP_HOST = smtp.mailtrap.io
12
+ SMTP_USER = 90cf952fb44469
13
+
96DD
SMTP_PASS = 0524531956c552
14
+ SMTP_PORT = 587
15
+
16
+ TOKEN_EXPIRED_IN = 60m
17
+ TOKEN_MAXAGE = 60
18
+
19
+ TOKEN_SECRET = my-ultra-secure-json-web-token-string
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ func init() {
18
18
}
19
19
20
20
func main () {
21
+ initializers .DB .Exec ("CREATE EXTENSION IF NOT EXISTS \" uuid-ossp\" " )
21
22
initializers .DB .AutoMigrate (& models.User {})
22
23
fmt .Println ("👍 Migration complete" )
23
24
}
You can’t perform that action at this time.
0 commit comments