Skip to content

Commit

Permalink
ops: add contacts metadata data migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonribble committed Sep 30, 2024
1 parent 2835d32 commit aefdd2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions migrations/20240930184147_contacts_metadata.sql
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit aefdd2f

Please sign in to comment.