feat: phone validation
Some checks failed
build quyun / Build (push) Failing after 1m25s

This commit is contained in:
2025-12-20 11:47:45 +08:00
parent fdbf26d751
commit 0e4af79b53
31 changed files with 1130 additions and 984 deletions

View File

@@ -0,0 +1,13 @@
-- +goose Up
-- +goose StatementBegin
-- add phone field to users table
ALTER TABLE public.users
ADD phone varchar(15) DEFAULT '' NOT NULL;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE public.users
DROP COLUMN phone;
-- +goose StatementEnd