Merging 2 discourse forums

It works with

@raw_connection = PG.connect(dbname: local_db[:database], host: 'localhost', user: 'postgres', password: '<put your password here>', port: local_db[:port])

It’s a hard-bake but at least it goes.

I had to do following to get password set:

sudo -u postgres psql postgres
\password postgres
(enter the new password)
\q

Now onto new and interesting bugs like unique constraints (instead of copy-over)!

best,
Walker

1 Like