chirpy_server/sql/schema/003_users_auth.sql

7 lines
151 B
MySQL
Raw Normal View History

-- +goose Up
ALTER TABLE users
ADD COLUMN hashed_password TEXT DEFAULT 'unset' NOT NULL;
-- +goose Down
ALTER TABLE users
DROP COLUMN hashed_password;