Commit Graph

34 Commits

Author SHA1 Message Date
shenlan
722c2cac37 Fix public schema reset script (#511) 2025-10-13 13:07:52 +08:00
shenlan
3c75686a7c Avoid dropping public schema during reinit (#510) 2025-10-13 13:03:19 +08:00
shenlan
f31eba28fc Fix account schema embed import (#508) 2025-10-13 11:59:20 +08:00
shenlan
e2ebbe2b19 feat(account): add merge-aware importer with dry-run support (#507) 2025-10-13 11:24:36 +08:00
shenlan
d37a45783a chore: normalize tabs in account makefile (#503) 2025-10-13 09:00:45 +08:00
shenlan
5f9f1212e4 Make schema reinit work without dropping schema (#500) 2025-10-13 07:56:52 +08:00
root
50d8bc3841 removed all sql/migrations 2025-10-13 07:47:01 +08:00
shenlan
5678975cb8 refactor: unify pglogical region schema (#498) 2025-10-13 01:30:28 +08:00
shenlan
1ad095f462 docs: clarify cn pglogical init permissions (#494) 2025-10-12 07:46:02 +08:00
shenlan
c82412e30e Ensure pglogical schema exists before region setup (#492) 2025-10-11 23:51:34 +08:00
Haitao Pan
52887ea769 feat(sql): enhance schema for bidirectional pglogical sync and update migration guide 2025-10-11 09:27:57 +08:00
shenlan
d3aaefd7b9 Separate pglogical initialization from schema snapshot (#465) 2025-10-10 20:46:43 +08:00
shenlan
519e03ffe9 Fix schema initialization permissions (#464) 2025-10-10 13:54:15 +08:00
Haitao Pan
3f05606fb5 chore: re-add cleaned files after history purge 2025-10-10 11:35:42 +08:00
Haitao Pan
460b55f2bb feat(pglogical): add region CN/Global schema and sync guide 2025-10-09 09:09:28 +08:00
shenlan
08cc576d8e feat(account): add migratectl CLI and golang-migrate workflows (#460) 2025-10-08 21:56:50 +08:00
root
2c7609d1d1 chore(sql): add export/import clean schema scripts for pglogical-safe sync 2025-10-08 20:35:01 +08:00
root
9999146341 add sql/20251008.migrate.email_verified.sql 2025-10-08 20:20:47 +08:00
root
ac3fba5f6d 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
f4a31de0e8 fix(account): load migrate-db SQL from file (#446) 2025-10-07 09:25:02 +08:00
shenlan
417ceddfc2 feat(account): add admin settings matrix management (#445) 2025-10-07 09:24:00 +08:00
shenlan
98eb6db012 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
55210f9c51 fix: rely on db uniqueness for account usernames (#416) 2025-10-06 10:36:40 +08:00
shenlan
149458d97f chore: remove legacy account migrations (#404) 2025-10-05 10:10:21 +08:00
Haitao Pan
61971b179e fix: ensure uuid schema consistency and update homepage runtime config 2025-10-05 07:18:13 +08:00
shenlan
117d904386 Refine UUID schema migration (#399) 2025-10-05 07:01:13 +08:00
shenlan
438f18d7ec Ensure UUID migrations are idempotent (#398) 2025-10-04 22:59:56 +08:00
shenlan
e430a1d155 Make UUID migration idempotent when user_id dropped (#396) 2025-10-04 22:13:00 +08:00
shenlan
ea858e27fd Make UUID migration idempotent (#395) 2025-10-04 21:47:46 +08:00
shenlan
7344fdb31e feat(account): add email verification and password reset (#378) 2025-10-02 17:56:30 +08:00
shenlan
c974f618ae docs: update account service mfa guidance (#366) 2025-10-02 14:06:07 +08:00
Haitao Pan
5dda2e3358 chore: add SQL migration for UUID PK and update Yarn config/lockfile 2025-10-01 18:45:59 +08:00
Haitao Pan
8b7e313521 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