summaryrefslogtreecommitdiff
path: root/schema/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'schema/migrations')
-rw-r--r--schema/migrations/0004.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/schema/migrations/0004.sql b/schema/migrations/0004.sql
new file mode 100644
index 0000000..8b74018
--- /dev/null
+++ b/schema/migrations/0004.sql
@@ -0,0 +1,5 @@
+ALTER TABLE users
+ADD COLUMN `micropub_syndicate_field` VARCHAR(255) NOT NULL DEFAULT 'mp-syndicate-to' AFTER `micropub_slug_field`;
+
+UPDATE users
+SET micropub_syndicate_field = 'syndicate-to';