freeleaps-ops/migrate.dsl
2025-03-22 01:03:59 +08:00

12 lines
367 B
Plaintext

LOAD DATABASE
FROM '/tmp/gitea-alpha.db'
INTO postgresql://gitea:r8sA8CPHD9!bt6d@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';