Uploading to server

This commit is contained in:
2025-08-02 05:24:23 +07:00
commit 734743f60f
16 changed files with 267 additions and 0 deletions

21
pgloader/english.load Normal file
View File

@@ -0,0 +1,21 @@
LOAD DATABASE
FROM mysql://root:HP_LE1851w@192.168.1.140/english
INTO postgresql://postgres:HP_LE1851w@192.168.1.140:5432/english
WITH include no drop,
create tables,
create indexes,
reset sequences
CAST
type tinyint when (= precision 1) to smallint drop typemod,
type smallint to smallint drop typemod,
type int to integer drop typemod,
type integer to integer drop typemod,
type datetime to timestamptz drop default drop not null,
type date to date
SET work_mem TO '16MB',
maintenance_work_mem TO '512MB',
search_path TO 'public'
;