add tag migrations and update send / saveEvent

This commit is contained in:
Francis Cao 2024-10-15 11:29:27 -07:00
parent 6ce9a8cef4
commit bffb98cd51
7 changed files with 102 additions and 1 deletions

View file

@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE `website_event` ADD COLUMN `tag` VARCHAR(50) NULL;
-- CreateIndex
CREATE INDEX `website_event_website_id_created_at_tag_idx` ON `website_event`(`website_id`, `created_at`, `tag`);