kenken999 commited on
Commit
008c795
1 Parent(s): 70b71a3
command/postgres.py CHANGED
@@ -27,7 +27,7 @@ def connect_to_db():
27
  dbname="neondb",
28
  user="miyataken999",
29
  password="yz1wPf4KrWTm",
30
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
31
  port=5432,
32
  sslmode="require"
33
  )
 
27
  dbname="neondb",
28
  user="miyataken999",
29
  password="yz1wPf4KrWTm",
30
+ host=os.getenv("postgre_host"),
31
  port=5432,
32
  sslmode="require"
33
  )
command/postgresz.py CHANGED
@@ -5,7 +5,7 @@ conn_params = {
5
  "dbname": "neondb",
6
  "user": "miyataken999",
7
  "password": "yz1wPf4KrWTm",
8
- "host": "ep-odd-mode-93794521.us-east-2.aws.neon.tech",
9
  "port": 5432,
10
  "sslmode": "require"
11
  }
 
5
  "dbname": "neondb",
6
  "user": "miyataken999",
7
  "password": "yz1wPf4KrWTm",
8
+ "host": os.getenv("postgre_host"),
9
  "port": 5432,
10
  "sslmode": "require"
11
  }
controllers/ai/.gpteng/memory/logs/all_output.txt CHANGED
@@ -1743,7 +1743,7 @@ def connect_to_db():
1743
  dbname="neondb",
1744
  user="miyataken999",
1745
  password="yz1wPf4KrWTm",
1746
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
1747
  port=5432,
1748
  sslmode="require"
1749
  )
@@ -1836,7 +1836,7 @@ def connect_to_db():
1836
  dbname="neondb",
1837
  user="miyataken999",
1838
  password="yz1wPf4KrWTm",
1839
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
1840
  port=5432,
1841
  sslmode="require"
1842
  )
 
1743
  dbname="neondb",
1744
  user="miyataken999",
1745
  password="yz1wPf4KrWTm",
1746
+ host=os.getenv("postgre_host"),
1747
  port=5432,
1748
  sslmode="require"
1749
  )
 
1836
  dbname="neondb",
1837
  user="miyataken999",
1838
  password="yz1wPf4KrWTm",
1839
+ host=os.getenv("postgre_host"),
1840
  port=5432,
1841
  sslmode="require"
1842
  )
controllers/ai/.gpteng/memory/logs/gen_entrypoint_chat.txt CHANGED
@@ -1294,7 +1294,7 @@ File: mysite/db/connection.py
1294
  5 dbname="neondb",
1295
  6 user="miyataken999",
1296
  7 password="yz1wPf4KrWTm",
1297
- 8 host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
1298
  9 port=5432,
1299
  10 sslmode="require"
1300
  11 )
 
1294
  5 dbname="neondb",
1295
  6 user="miyataken999",
1296
  7 password="yz1wPf4KrWTm",
1297
+ 8 host=os.getenv("postgre_host"),
1298
  9 port=5432,
1299
  10 sslmode="require"
1300
  11 )
controllers/ai/mysite/db/connection.py CHANGED
@@ -5,7 +5,7 @@ def connect_to_db():
5
  dbname="neondb",
6
  user="miyataken999",
7
  password="yz1wPf4KrWTm",
8
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
9
  port=5432,
10
  sslmode="require"
11
  )
 
5
  dbname="neondb",
6
  user="miyataken999",
7
  password="yz1wPf4KrWTm",
8
+ host=os.getenv("postgre_host"),
9
  port=5432,
10
  sslmode="require"
11
  )
controllers/gpt_enginner20240629102123 ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit cc5fa41926c1420ddd84aacee4c9adc9e7c13174
controllers/gra_04_database/.gpteng/memory/logs/all_output.txt CHANGED
@@ -108,7 +108,7 @@ def connect_to_db():
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
112
  port=5432,
113
  sslmode="require"
114
  )
 
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
+ host=os.getenv("postgre_host"),
112
  port=5432,
113
  sslmode="require"
114
  )
controllers/gra_04_database/.gpteng/memory/logs/gen_entrypoint_chat.txt CHANGED
@@ -47,7 +47,7 @@ File: database.py
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
- 8 host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
 
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
+ 8 host=os.getenv("postgre_host"),
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
controllers/gra_04_database/rides.py CHANGED
@@ -21,7 +21,7 @@ def connect_to_db():
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
25
  port=5432,
26
  sslmode="require"
27
  )
 
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
+ host=os.getenv("postgre_host"),
25
  port=5432,
26
  sslmode="require"
27
  )
models/ride.py CHANGED
@@ -27,7 +27,7 @@ def connect_to_db():
27
  dbname="neondb",
28
  user="miyataken999",
29
  password="yz1wPf4KrWTm",
30
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
31
  port=5432,
32
  sslmode="require"
33
  )
 
27
  dbname="neondb",
28
  user="miyataken999",
29
  password="yz1wPf4KrWTm",
30
+ host=os.getenv("postgre_host"),
31
  port=5432,
32
  sslmode="require"
33
  )
polls/controllers/database/.gpteng/memory/logs/all_output.txt CHANGED
@@ -108,7 +108,7 @@ def connect_to_db():
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
112
  port=5432,
113
  sslmode="require"
114
  )
 
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
+ host=os.getenv("postgre_host"),
112
  port=5432,
113
  sslmode="require"
114
  )
polls/controllers/database/.gpteng/memory/logs/gen_entrypoint_chat.txt CHANGED
@@ -47,7 +47,7 @@ File: database.py
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
- 8 host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
 
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
+ 8 host=os.getenv("postgre_host"),
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
polls/controllers/database/PostGres.py CHANGED
@@ -21,7 +21,7 @@ def connect_to_db():
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
25
  port=5432,
26
  sslmode="require"
27
  )
 
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
+ host=os.getenv("postgre_host"),
25
  port=5432,
26
  sslmode="require"
27
  )
polls/databases/insert_line.py CHANGED
@@ -35,7 +35,7 @@ def connect_to_db():
35
  dbname="neondb",
36
  user="miyataken999",
37
  password="yz1wPf4KrWTm",
38
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
39
  port=5432,
40
  sslmode="require"
41
  )
 
35
  dbname="neondb",
36
  user="miyataken999",
37
  password="yz1wPf4KrWTm",
38
+ host=os.getenv("postgre_host"),
39
  port=5432,
40
  sslmode="require"
41
  )
polls/models/database.py CHANGED
@@ -21,7 +21,7 @@ def connect_to_db():
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
25
  port=5432,
26
  sslmode="require"
27
  )
 
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
+ host=os.getenv("postgre_host"),
25
  port=5432,
26
  sslmode="require"
27
  )
routers/gra_04_database/.gpteng/memory/logs/all_output.txt CHANGED
@@ -108,7 +108,7 @@ def connect_to_db():
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
112
  port=5432,
113
  sslmode="require"
114
  )
 
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
+ host=os.getenv("postgre_host"),
112
  port=5432,
113
  sslmode="require"
114
  )
routers/gra_04_database/.gpteng/memory/logs/gen_entrypoint_chat.txt CHANGED
@@ -47,7 +47,7 @@ File: database.py
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
- 8 host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
 
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
+ 8 host=os.getenv("postgre_host"),
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
routers/gra_04_database/rides.py CHANGED
@@ -21,7 +21,7 @@ def connect_to_db():
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
25
  port=5432,
26
  sslmode="require"
27
  )
 
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
+ host=os.getenv("postgre_host"),
25
  port=5432,
26
  sslmode="require"
27
  )
views/gra_04_database/.gpteng/memory/logs/all_output.txt CHANGED
@@ -108,7 +108,7 @@ def connect_to_db():
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
112
  port=5432,
113
  sslmode="require"
114
  )
 
108
  dbname="neondb",
109
  user="miyataken999",
110
  password="yz1wPf4KrWTm",
111
+ host=os.getenv("postgre_host"),
112
  port=5432,
113
  sslmode="require"
114
  )
views/gra_04_database/.gpteng/memory/logs/gen_entrypoint_chat.txt CHANGED
@@ -47,7 +47,7 @@ File: database.py
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
- 8 host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
 
47
  5 dbname="neondb",
48
  6 user="miyataken999",
49
  7 password="yz1wPf4KrWTm",
50
+ 8 host=os.getenv("postgre_host"),
51
  9 port=5432,
52
  10 sslmode="require"
53
  11 )
views/gra_04_database/rides.py CHANGED
@@ -21,7 +21,7 @@ def connect_to_db():
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
- host="ep-odd-mode-93794521.us-east-2.aws.neon.tech",
25
  port=5432,
26
  sslmode="require"
27
  )
 
21
  dbname="neondb",
22
  user="miyataken999",
23
  password="yz1wPf4KrWTm",
24
+ host=os.getenv("postgre_host"),
25
  port=5432,
26
  sslmode="require"
27
  )