parcel/migrations/002_user_name.sql
Blake Rain 05c49b51e1
All checks were successful
Check / check (push) Successful in 1m8s
feat: add a display name for users (defaults to username)
2024-08-08 20:29:44 +01:00

6 lines
100 B
SQL

ALTER TABLE users
ADD COLUMN name TEXT NOT NULL DEFAULT('');
UPDATE users
SET name = username;