Skip to content

Commit d9189b6

Browse files
authored
Update models.py
1 parent 19de4a4 commit d9189b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import json
55

66
database_name = 'trivia'
7-
database_path = 'postgres://{}/{}'.format('localhost:5432', database_name)
7+
database_path = 'postgresql://{}/{}'.format('localhost:5432', database_name)
88

99
db = SQLAlchemy()
1010

@@ -75,4 +75,4 @@ def format(self):
7575
return {
7676
'id': self.id,
7777
'type': self.type
78-
}
78+
}

0 commit comments

Comments
 (0)