Commit Graph

34 Commits

Author SHA1 Message Date
shenlan
af87bb30fd Fix public schema reset script (#511) 2025-10-13 13:07:52 +08:00
shenlan
eef20d1ff1 Avoid dropping public schema during reinit (#510) 2025-10-13 13:03:19 +08:00
shenlan
0e8dbe2c1d Fix account schema embed import (#508) 2025-10-13 11:59:20 +08:00
shenlan
1403d6f3e6 feat(account): add merge-aware importer with dry-run support (#507) 2025-10-13 11:24:36 +08:00
shenlan
b72d9e54b2 chore: normalize tabs in account makefile (#503) 2025-10-13 09:00:45 +08:00
shenlan
64e35c60b2 Make schema reinit work without dropping schema (#500) 2025-10-13 07:56:52 +08:00
root
d735ef5c39 removed all sql/migrations 2025-10-13 07:47:01 +08:00
shenlan
d8c5f418db refactor: unify pglogical region schema (#498) 2025-10-13 01:30:28 +08:00
shenlan
ab8b5fe4cf docs: clarify cn pglogical init permissions (#494) 2025-10-12 07:46:02 +08:00
shenlan
34116c5490 Ensure pglogical schema exists before region setup (#492) 2025-10-11 23:51:34 +08:00
Haitao Pan
987a49d730 feat(sql): enhance schema for bidirectional pglogical sync and update migration guide 2025-10-11 09:27:57 +08:00
shenlan
3082b2ee1d Separate pglogical initialization from schema snapshot (#465) 2025-10-10 20:46:43 +08:00
shenlan
f6ccb7432c Fix schema initialization permissions (#464) 2025-10-10 13:54:15 +08:00
Haitao Pan
44f17bfa3c chore: re-add cleaned files after history purge 2025-10-10 11:35:42 +08:00
Haitao Pan
9c1cf504b2 feat(pglogical): add region CN/Global schema and sync guide 2025-10-09 09:09:28 +08:00
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