mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 02:46:10 +02:00
Review database migration logic and options again.
In #539 it appears that we fail to honor some actions, and it seems to be because of sloppy reasonning in how to make sense of all of them. It could well be that we have too many options for them to make sense in all possible combinations, but for now it looks safe to bet on an easy fix...
This commit is contained in:
parent
3c4e64ed26
commit
e7afe993fa
@ -236,8 +236,8 @@
|
||||
(create-tables (and create-tables create-ddl))
|
||||
(create-schemas (and create-schemas create-ddl))
|
||||
(foreign-keys (and foreign-keys create-ddl))
|
||||
(drop-indexes (or create-ddl include-drop))
|
||||
(create-indexes (or drop-indexes (and create-indexes create-ddl)))
|
||||
(drop-indexes (and include-drop create-ddl))
|
||||
(create-indexes (and create-indexes drop-indexes create-ddl))
|
||||
|
||||
(*preserve-index-names*
|
||||
(or (eq :preserve index-names)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user