Add support for preserving index names in SQLite.

See #187.
This commit is contained in:
Dimitri Fontaine 2017-07-17 11:04:12 +02:00
parent cf6182fafa
commit ae0c6ed119
2 changed files with 4 additions and 2 deletions

View File

@ -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))

View File

@ -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'