From aefdd2f38136f424379546c4105cb43aaedee559 Mon Sep 17 00:00:00 2001 From: Jason Ribble Date: Mon, 30 Sep 2024 11:48:49 -0700 Subject: [PATCH] ops: add contacts metadata data migration --- migrations/20240930184147_contacts_metadata.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 migrations/20240930184147_contacts_metadata.sql diff --git a/migrations/20240930184147_contacts_metadata.sql b/migrations/20240930184147_contacts_metadata.sql new file mode 100644 index 0000000..a09f059 --- /dev/null +++ b/migrations/20240930184147_contacts_metadata.sql @@ -0,0 +1,13 @@ +-- Add migration script here +CREATE TABLE IF NOT EXISTS contacts_metadata +( +contact_id INTEGER NOT NULL, +starred BOOLEAN NOT NULL, +is_archived BOOLEAN NOT NULL, +created_at TEXT NOT NULL, +updated_at TEXT NOT NULL, +last_seen_at TEXT, +next_reminder_at TEXT, +frequency INTEGER, +last_reminder_at TEXT +) \ No newline at end of file