13 Commits

Author SHA1 Message Date
9f0eec2bb1 feat: separate subscription from payment 2023-05-21 20:30:37 +08:00
2cb848056f feat: use connection pooling 2023-05-19 21:53:04 +08:00
8c5ddc37e1 chore: add created_at to users table 2023-05-19 00:57:01 +08:00
b0b6caaffa feat: implement subscription (#92) 2023-05-18 22:04:27 +08:00
c8d6fafdfa feat: account and payment (#75) 2023-05-05 18:56:14 +08:00
eb4cda6081 chore: reinit schema 2023-05-02 19:46:35 +08:00
5c2410cfba fix: add model seed data 2023-05-02 17:51:04 +08:00
6ce7d9862c chore: change USAGE_DATABASE_URL to DATABASE_URL 2023-05-02 17:47:57 +08:00
0306b10902 chore: add enduser column to record enduser info
Also pass the enduser info to OpenAI for abuse detection.
2023-05-02 16:51:19 +08:00
5259222b92 chore: add model info to the chat table 2023-05-02 16:22:41 +08:00
00e3040670 chore: update usage database schema 2023-04-24 18:07:13 +08:00
4a49b9d9c8 chore: change to USAGE_DATABASE_URL (#62)
* chore: update readme

* chore: change to USAGE_DATABASE_URL
2023-04-24 01:40:20 +08:00
aabb9a0ce5 feat: add prisma stub and init schema 2023-04-24 00:48:45 +08:00