chirpy_server/sql/schema/003_users_auth.sql

7 lines
151 B
SQL

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