browsertrix/backend/btrixcloud/migrations
Tessa Walsh 7a56fa23f5
Remove username lookups for crawls and workflows by storing usernames in db (#1199)
* store usernames (createdByName, modifiedByName, startedByName) in db for workflows
* store userName for userid for crawls in db
* update output models to return usernames
* add migration 0018 to add usernames to existing crawls and crawlconfigs
* updated tests for crawl and config usernames
* use async for to iterate over crawls and crawlconfigs

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2023-09-28 09:37:23 -07:00
..
__init__.py Refactor to use new operator on backend (#789) 2023-04-24 18:30:52 -07:00
migration_0001_archives_to_orgs.py Refactor to use new operator on backend (#789) 2023-04-24 18:30:52 -07:00
migration_0002_crawlconfig_crawlstats.py CrawlConfig migration and crawl stats query optimization (#633) 2023-02-24 18:01:15 -08:00
migration_0003_mutable_crawl_configs.py Move pydantic models to separate module + refactor crawl response endpoints to be consistent (#983) 2023-07-20 13:05:33 +02:00
migration_0004_config_seeds.py Move pydantic models to separate module + refactor crawl response endpoints to be consistent (#983) 2023-07-20 13:05:33 +02:00
migration_0005_operator_scheduled_jobs.py Move pydantic models to separate module + refactor crawl response endpoints to be consistent (#983) 2023-07-20 13:05:33 +02:00
migration_0006_precompute_crawl_stats.py Optimize workflow statistics updates (#892) 2023-05-26 22:57:08 -07:00
migration_0007_colls_and_config_update.py Optimize workflow statistics updates (#892) 2023-05-26 22:57:08 -07:00
migration_0008_precompute_crawl_file_stats.py Precompute crawl file stats (#906) 2023-06-07 16:39:49 -07:00
migration_0009_crawl_types.py Uploads API: BaseCrawl refactor + Initial support for /uploads endpoint (#937) 2023-07-07 09:13:26 -07:00
migration_0010_collection_total_size.py Refactor / Cleanup: move ops functions back into classes (#1171) 2023-09-13 11:56:09 -07:00
migration_0011_crawl_timeout_configmap.py Add migration to replace None with 0 for configmap CRAWL_TIMEOUT (#1008) 2023-07-24 15:49:26 -04:00
migration_0012_notes_to_description.py Rename notes to description in frontend and backend (#1011) 2023-07-26 13:00:04 -07:00
migration_0013_crawl_name.py Backend: standardize search values, filters, and sorting for archived items (#1039) 2023-08-04 09:56:52 -07:00
migration_0014_to_collection_ids.py feat: implement 'collections' array with {name, id} for archived item details (#1098) 2023-08-25 00:26:46 -07:00
migration_0015_org_storage_usage.py Track bytes stored per file type and include in org metrics (#1207) 2023-09-22 12:55:21 -04:00
migration_0016_operator_scheduled_jobs_v2.py Scheduled Crawl Refactor: Handle via Operator + Add Skipped Crawls on Quota Reached (#1162) 2023-09-12 13:05:43 -07:00
migration_0017_storage_by_type.py Track bytes stored per file type and include in org metrics (#1207) 2023-09-22 12:55:21 -04:00
migration_0018_usernames.py Remove username lookups for crawls and workflows by storing usernames in db (#1199) 2023-09-28 09:37:23 -07:00