fix(backend): migration legacy (#2370)

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
This commit is contained in:
Antoine Dewez 2024-03-21 00:17:19 -07:00 committed by GitHub
parent da8e7513e6
commit 4a341ba59d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,11 +1,3 @@
create type "public"."user_identity_company_size" as enum ('1-10', '10-25', '25-50', '50-100', '100-250', '250-500', '500-1000', '1000-5000', '+5000');
alter table "public"."chat_history" drop column "user_feedback";
alter table "public"."chat_history" add column "thumbs" boolean;
alter table "public"."user_identity" add column "company_size" user_identity_company_size;
alter table "public"."user_identity" add column "usage_purpose" text;