From d347e8286bae38b3949f6e0f58d8ab8632cd9c0e Mon Sep 17 00:00:00 2001
From: Jesse Morgan <jesse@jesterpm.net>
Date: Sun, 23 Feb 2025 17:01:01 -0800
Subject: Track token expiration

Force reauthentication after the token expires.
---
 schema/sqlite.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'schema/sqlite.sql')

diff --git a/schema/sqlite.sql b/schema/sqlite.sql
index 310b2ae..9170e83 100644
--- a/schema/sqlite.sql
+++ b/schema/sqlite.sql
@@ -6,6 +6,7 @@ CREATE TABLE users (
   micropub_endpoint TEXT,
   micropub_media_endpoint TEXT,
   micropub_access_token TEXT,
+  micropub_token_expiration datetime,
   micropub_scope TEXT,
   micropub_response TEXT,
   micropub_slug_field TEXT default 'mp-slug',
-- 
cgit v1.2.3

