feat: add support for using postgres for the backend DB

This commit is contained in:
Jun Siang Cheah
2024-04-27 15:33:20 +01:00
parent f8f9f27ae8
commit e91a49c455
15 changed files with 329 additions and 18 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ class User(Model):
name = CharField()
email = CharField()
role = CharField()
profile_image_url = CharField()
timestamp = DateField()
profile_image_url = TextField()
timestamp = BigIntegerField()
api_key = CharField(null=True, unique=True)
class Meta: