From 371a444eb776873848868819e9e7a08c7d810947 Mon Sep 17 00:00:00 2001
From: Griffin Smith <grfn@gws.fyi>
Date: Fri, 24 Dec 2021 12:10:54 -0500
Subject: feat(grfn/bbbg): Allow importing event attendees

Add support for importing the tsv that meetup exports into a list of
upserted attendees, and event-attendee joins.

Change-Id: I5f4ddc9fc63bcc6b0334bc3e1d3cbc4d5b99c21b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4570
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
---
 .../migrations/20211224161028-add-attendee-unique-meetup-id.up.sql      | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 users/grfn/bbbg/resources/migrations/20211224161028-add-attendee-unique-meetup-id.up.sql

(limited to 'users/grfn/bbbg/resources/migrations/20211224161028-add-attendee-unique-meetup-id.up.sql')

diff --git a/users/grfn/bbbg/resources/migrations/20211224161028-add-attendee-unique-meetup-id.up.sql b/users/grfn/bbbg/resources/migrations/20211224161028-add-attendee-unique-meetup-id.up.sql
new file mode 100644
index 000000000000..5895cad56bdf
--- /dev/null
+++ b/users/grfn/bbbg/resources/migrations/20211224161028-add-attendee-unique-meetup-id.up.sql
@@ -0,0 +1,2 @@
+create unique index "attendee_uniq_meetup_user_id" on attendee (meetup_user_id);
+-- ;;
-- 
cgit 1.4.1

