From 542aa812f8606dad16ab456c3e5da438cc501644 Mon Sep 17 00:00:00 2001
From: Aaron Parecki <aaron@parecki.com>
Date: Wed, 11 May 2016 17:47:17 +0200
Subject: support media endpoint, autosave notes in local storage

* looks for a media endpoint in the micropub config
* if media endpoint is available, both the note interface and the editor will upload files to it instead of posting the photo directly
* the note interface autosaves in-progress notes in localstorage
---
 schema/mysql.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'schema/mysql.sql')

diff --git a/schema/mysql.sql b/schema/mysql.sql
index e9f6d1d..8eccb3a 100644
--- a/schema/mysql.sql
+++ b/schema/mysql.sql
@@ -4,6 +4,7 @@ CREATE TABLE `users` (
   `authorization_endpoint` varchar(255) DEFAULT NULL,
   `token_endpoint` varchar(255) DEFAULT NULL,
   `micropub_endpoint` varchar(255) DEFAULT NULL,
+  `micropub_media_endpoint` varchar(255) DEFAULT NULL,
   `micropub_access_token` text,
   `micropub_scope` varchar(255) DEFAULT NULL,
   `micropub_response` text,
-- 
cgit v1.2.3

