summaryrefslogtreecommitdiff
path: root/schema/migrations/0002.sql
blob: 60d591af15f78fcbfe693a1a1c0ce2715ef1ba18 (plain)
1
2
3
4
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';