5 Star 45 Fork 3

Gitee 极速下载/pgsync

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/ankane/pgsync
克隆/下载
config.yml 770 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andrew Kane 提交于 2020-06-08 07:35 +08:00 . Revert "Better default command"
# source database URL
# database URLs take the format of:
# postgres://user:password@host:port/dbname
#
# we recommend a command which outputs a database URL
# so sensitive information is not included in this file
#
# we *highly recommend* you use sslmode=verify-full when possible
# see https://ankane.org/postgres-sslmode-explained for more info
from: $(some_command)?sslmode=require
# destination database URL
to: postgres://localhost:5432/myapp_development
# exclude tables
%{exclude}
# define groups
# groups:
# group1:
# - table1
# - table2
# sync specific schemas
# schemas:
# - public
# protect sensitive information
data_rules:
email: unique_email
phone: unique_phone
last_name: random_letter
birthday: random_date
encrypted_*: null
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mirrors/pgsync.git
git@gitee.com:mirrors/pgsync.git
mirrors
pgsync
pgsync
master

搜索帮助