Commit Graph

19 Commits

Author SHA1 Message Date
shenlan
0a8ff47c12 feat(account): add migratectl CLI and golang-migrate workflows (#460) 2025-10-08 21:56:50 +08:00
root
9ee3ee54b0 chore(sql): add export/import clean schema scripts for pglogical-safe sync 2025-10-08 20:35:01 +08:00
root
61c9fe82ce add sql/20251008.migrate.email_verified.sql 2025-10-08 20:20:47 +08:00
root
e8635c1758 chore(sql,pglogical): migrate schema for pglogical compatibility & cleanup
- rename old migration files to standard *.migrate.*.sql
- add 20251008.migrate.generated-columns.sql (fix generated columns)
- update Makefile for MIGRATION_FILES auto-detection
- add sql/readme.md & generate-postgres-tls.sh
- cleanup deprecated git-branch-keeper.sh
- update pglogical.md and setup_ubuntu_2204.sh
2025-10-08 19:45:20 +08:00
shenlan
d8a1a0960a fix(account): load migrate-db SQL from file (#446) 2025-10-07 09:25:02 +08:00
shenlan
e7a8b9738a feat(account): add admin settings matrix management (#445) 2025-10-07 09:24:00 +08:00
shenlan
6fbc0b7560 Add role metadata to account and gateway models (#441)
* Add role metadata to users

* docs: add curl session example and db migration playbook
2025-10-07 08:23:53 +08:00
shenlan
bfae1b53fc fix: rely on db uniqueness for account usernames (#416) 2025-10-06 10:36:40 +08:00
shenlan
d0fc602434 chore: remove legacy account migrations (#404) 2025-10-05 10:10:21 +08:00
Haitao Pan
0937249f9e fix: ensure uuid schema consistency and update homepage runtime config 2025-10-05 07:18:13 +08:00
shenlan
6ab10f1e72 Refine UUID schema migration (#399) 2025-10-05 07:01:13 +08:00
shenlan
029aad0fe9 Ensure UUID migrations are idempotent (#398) 2025-10-04 22:59:56 +08:00
shenlan
bb81a897b2 Make UUID migration idempotent when user_id dropped (#396) 2025-10-04 22:13:00 +08:00
shenlan
88cd7283eb Make UUID migration idempotent (#395) 2025-10-04 21:47:46 +08:00
shenlan
9ceff86df5 feat(account): add email verification and password reset (#378) 2025-10-02 17:56:30 +08:00
shenlan
2123809f27 docs: update account service mfa guidance (#366) 2025-10-02 14:06:07 +08:00
Haitao Pan
fedc64660a chore: add SQL migration for UUID PK and update Yarn config/lockfile 2025-10-01 18:45:59 +08:00
Haitao Pan
4e6b34b4e7 feat(db): add UUID migration script and update schema 2025-10-01 17:27:47 +08:00
shenlan
f8ca5ccb70 feat: scaffold account service and ui 2025-08-19 12:49:05 +08:00