From 427101b634dfa0001bc669ac388026905b2be7d2 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Sun, 4 May 2025 10:42:40 -0400 Subject: [PATCH] collab: Drop legacy subscription usage and meter tables (#29876) This PR adds a migration to drop the `subscription_usages` and `subscription_usage_meters` tables from the database. We're now using `subscription_usages_v2` and `subscription_usage_meters_v2` everywhere. Release Notes: - N/A --- ...04132836_drop_legacy_subscription_usage_and_meter_tables.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 crates/collab/migrations_llm/20250504132836_drop_legacy_subscription_usage_and_meter_tables.sql diff --git a/crates/collab/migrations_llm/20250504132836_drop_legacy_subscription_usage_and_meter_tables.sql b/crates/collab/migrations_llm/20250504132836_drop_legacy_subscription_usage_and_meter_tables.sql new file mode 100644 index 0000000000000000000000000000000000000000..f06b152d7ba9a38419facb18fd620899a63b083d --- /dev/null +++ b/crates/collab/migrations_llm/20250504132836_drop_legacy_subscription_usage_and_meter_tables.sql @@ -0,0 +1,2 @@ +drop table subscription_usage_meters; +drop table subscription_usages;