mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 07:16:58 +02:00
This rule has overridden the default rule for `tinyint(1)` and instead of placing `boolean`, it kept the typemod and placed `boolean(1)` into the resulting query.
12 lines
401 B
Fish
12 lines
401 B
Fish
load database from mysql://localhost/adv
|
|
into postgresql://dim@localhost/adv
|
|
|
|
with include drop, truncate, create tables, create indexes,
|
|
reset sequences,
|
|
downcase identifiers
|
|
|
|
set work_mem to '128MB', maintenance_work_mem to '512 MB'
|
|
|
|
cast type datetime to timestamptz drop default using zero-dates-to-null,
|
|
type date drop not null drop default using zero-dates-to-null;
|