freeleaps-ops/migrate.dsl
zhenyus 5b8429d883 chore: update Gitea configuration and migration script for production
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:36:24 +08:00

12 lines
422 B
Plaintext

LOAD DATABASE
FROM '/home/yaid/projects/groovy/freeleaps.com/freeleaps-ops/gitea.db'
INTO postgresql://postgres:X9H2*9M2ZWYmuZ@localhost:5432/gitea
WITH data only,
include no drop,
create no tables,
create no indexes,
no truncate,
batch rows = 1
excluding table names like 'app_state','oauth2_application','oauth2_authorization_code','oauth2_grant','system_setting','version','notice';