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/migrations/0001.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 schema/migrations/0001.sql

(limited to 'schema/migrations/0001.sql')

diff --git a/schema/migrations/0001.sql b/schema/migrations/0001.sql
new file mode 100644
index 0000000..87d67b6
--- /dev/null
+++ b/schema/migrations/0001.sql
@@ -0,0 +1,2 @@
+ALTER TABLE users
+ADD COLUMN `micropub_media_endpoint` VARCHAR(255) NOT NULL DEFAULT '' AFTER `micropub_endpoint`;
-- 
cgit v1.2.3

