summaryrefslogtreecommitdiff
path: root/schema/migrations
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-01-04 15:26:51 -0800
committerAaron Parecki <aaron@parecki.com>2017-01-04 15:26:51 -0800
commitacafb9192a6402a3f3d60d5e6af11cb4576fc96c (patch)
treed70737a0ee528cff04673ff6b66a1667fbd302bf /schema/migrations
parente7fe68f73e441778f80683383ddb2ffe7a48f85c (diff)
add tags, slug and status field to quill editor
Diffstat (limited to 'schema/migrations')
-rw-r--r--schema/migrations/0002.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/schema/migrations/0002.sql b/schema/migrations/0002.sql
new file mode 100644
index 0000000..60d591a
--- /dev/null
+++ b/schema/migrations/0002.sql
@@ -0,0 +1,5 @@
+ALTER TABLE users
+ADD COLUMN `micropub_slug_field` VARCHAR(255) NOT NULL DEFAULT 'mp-slug' AFTER `micropub_response`;
+
+UPDATE users
+SET micropub_slug_field = 'slug';