add(memos): add memos pgloader load

This commit is contained in:
GengY 2024-03-05 11:39:49 +08:00
parent 41480b023c
commit 9cad2dbd42

7
memos/pgloader.load Normal file
View File

@ -0,0 +1,7 @@
load database
from sqlite:///data/volumes/memos/data/memos_prod.db
into postgresql://postgres:Kevin0412PgSql@192.168.100.184:5432/memos-db?sslmode=disable
with include drop, create tables, create indexes, reset sequences
set work_mem to '16MB', maintenance_work_mem to '512 MB';