mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
parent
cf6182fafa
commit
ae0c6ed119
@ -28,7 +28,8 @@ load database
|
||||
option-include-drop
|
||||
option-create-tables
|
||||
option-create-indexes
|
||||
option-reset-sequences
|
||||
option-index-names
|
||||
option-reset-sequences
|
||||
option-foreign-keys
|
||||
option-encoding))
|
||||
|
||||
|
||||
@ -7,7 +7,8 @@ load database
|
||||
with workers = 4,
|
||||
concurrency = 2,
|
||||
on error stop,
|
||||
include drop, create tables, create indexes, reset sequences, foreign keys
|
||||
include drop, create tables, create indexes, reset sequences, foreign keys,
|
||||
preserve index names
|
||||
|
||||
-- alter table names matching ~/./ set schema 'chinook'
|
||||
alter table names matching 'Employee' rename to 'staff'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user