mgilangjanuar / teledrive

The Google Drive/OneDrive/etc alternative using Telegram API
https://teledriveapp.com
GNU General Public License v3.0
2.05k stars 950 forks source link

Getting error public.user does not exist #286

Closed starpunjabi closed 2 years ago

starpunjabi commented 2 years ago

Everything is configured properly, and application is running, but I am getting some error while trying to login through otp or through qrcode as well. Please see this small video. https://www.loom.com/share/b61a3f55058347df999c9c1aad899e77

Error Details: {"error":"relation \"public.users\" does not exist","details":{"query":"SELECT \"Users\".\"created_at\" AS \"Users_created_at\", \"Users\".\"updated_at\" AS \"Users_updated_at\", \"Users\".\"id\" AS \"Users_id\", \"Users\".\"username\" AS \"Users_username\", \"Users\".\"name\" AS \"Users_name\", \"Users\".\"tg_id\" AS \"Users_tg_id\", \"Users\".\"plan\" AS \"Users_plan\", \"Users\".\"subscription_id\" AS \"Users_subscription_id\", \"Users\".\"midtrans_id\" AS \"Users_midtrans_id\", \"Users\".\"plan_expired_at\" AS \"Users_plan_expired_at\", \"Users\".\"settings\" AS \"Users_settings\" FROM \"public\".\"users\" \"Users\" WHERE \"Users\".\"tg_id\" = $1 LIMIT 1","parameters":["1110868442"],......

starpunjabi commented 2 years ago

Please help to solve this issue.

starpunjabi commented 2 years ago

created db again