我正在尝试将sqlite3数据库复制到postgresql数据库。它成功运行,但是没有数据插入表中。原因是什么?我正在使用Sequel数据库工具包Ruby Gem。我不能在Windows上使用pg_loader。
sequel -C sqlite:db.sqlite3 postgres://username:password@localhost/database
Databases connections successful
Migrations dumped successfully
Tables created
Begin copying data
Finished copying data
Begin creating indexes
Finished creating indexes
Begin adding foreign key constraints
Finished adding foreign key constraints
Primary key sequences reset successfully
Database copy finished in 1.0044088 seconds