quivr/scripts
Zineb El Bachiri 9aaedcff51
Fix/requests limiting (#980)
* 🗃️ Rename users table into user_daily_usage

* 💥 replace User model with UserIdentity model

* 🗃️ New UserDailyUsage class for database interaction

* 🐛 fix daily requests rate limiting per user

* 🐛 fix user stats and properties update

* ✏️ add typing and linting

* 🚚 rename user_dialy_usage Class  into user_usage & requests_count into daily_requests_count

* 🚑 fix some rebase errors
2023-08-21 14:05:13 +02:00
..
20230606131110_add_uuid_user_id.sql docs(migration): updated table 2023-07-03 14:41:33 +02:00
20230620170840_add_vectors_brains.sql docs(migration): updated table 2023-07-03 14:41:33 +02:00
20230620183620_use_supabase_user_id.sql docs(migration): updated table 2023-07-03 14:41:33 +02:00
20230627151100_update_match_vectors.sql (fix) syntax error at or near "WHERE" (#548) 2023-07-07 09:10:22 +02:00
20230629143400_add_file_sha1_brains_vectors.sql docs(migration): updated table 2023-07-03 14:41:33 +02:00
20230701180101_add_prompts_table.sql feat(prompt): add prompt table, entity and repository (#823) 2023-08-03 09:53:38 +02:00
20230717164900_add_get_user_email_by_user_id.sql feat: add 20230717164900_add_get_user_email_by_user_id (#675) 2023-07-17 17:24:31 +02:00
20230717173000_add_get_user_id_by_user_email.sql Shareable brain 9 (#677) 2023-07-18 14:30:19 +02:00
20230731172400_add_user_identity_table.sql feat: add user level open ai key management (#805) 2023-08-01 09:24:57 +02:00
20230802120700_add_prompt_id_to_brain.sql feat(backend): implement brain-prompt link (#831) 2023-08-03 10:37:13 +02:00
20230809154300_add_prompt_id_brain_id_to_chat_history_table.sql feat(chatMessages): add brain_id and prompt_id columns (#912) 2023-08-10 10:25:08 +02:00
202307111517030_add_subscription_invitations_table.sql Feat/shareable brains send link be (#599) 2023-07-11 18:20:31 +02:00
202307111517031_change_vectors_id_type.sql Fix: change vector id to UUID (#609) 2023-07-12 11:44:34 +01:00
202307241530031_add_fields_to_brain.sql Feat/update brain fields (#756) 2023-07-25 15:22:17 +02:00
202308181004030_rename_users_table.sql Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00
pg_tables.sql Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00
tables.sql Fix/requests limiting (#980) 2023-08-21 14:05:13 +02:00