add columns for reply_to and reply and create tables for tracking service usage and enforce limit according to the subscription plan

This commit is contained in:
Hongbo Wu
2024-04-08 22:59:04 +08:00
parent 5cc5c559ac
commit 289d750a05
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,15 @@
-- Type: UNDO
-- Name: service_usage
-- Description: Create table for tracking service usage and enforce limit
BEGIN;
DROP TABLE IF EXISTS omnivore.service_usage;
DROP TABLE IF EXISTS omnivore.subscription_plan;
ATLER TABLE omnivore.received_emails
DROP COLUMN IF EXISTS reply_to,
DROP COLUMN IF EXISTS reply;
COMMIT;