Skip to content

Instantly share code, notes, and snippets.

@ebzzry
Created November 26, 2019 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebzzry/dd5bed4596a8d872721b593ed8ac3fb4 to your computer and use it in GitHub Desktop.
Save ebzzry/dd5bed4596a8d872721b593ed8ac3fb4 to your computer and use it in GitHub Desktop.
> sequel -C sqlite:///home/vagrant/db/db.sqlite postgresql://doadmin:kxtxuol7ammwyu9e@mimix-wiki-do-user-6768439-0.db.ondigitalocean.com:25060/wiki?sslmode=require
Databases connections successful
Migrations dumped successfully
Tables created
Begin copying data
Begin copying records for table: migrations
Finished copying 10 records for table: migrations
Begin copying records for table: migrations_lock
Finished copying 1 records for table: migrations_lock
Begin copying records for table: assetFolders
Finished copying 0 records for table: assetFolders
Begin copying records for table: authentication
Finished copying 20 records for table: authentication
Begin copying records for table: comments
Finished copying 0 records for table: comments
Begin copying records for table: editors
Finished copying 4 records for table: editors
Begin copying records for table: groups
Finished copying 2 records for table: groups
Begin copying records for table: locales
Finished copying 1 records for table: locales
Begin copying records for table: loggers
Finished copying 12 records for table: loggers
Begin copying records for table: navigation
Finished copying 1 records for table: navigation
Begin copying records for table: pages
Finished copying 14 records for table: pages
Begin copying records for table: renderers
Finished copying 20 records for table: renderers
Begin copying records for table: searchEngines
Finished copying 9 records for table: searchEngines
Begin copying records for table: settings
Finished copying 15 records for table: settings
Begin copying records for table: storage
Finished copying 10 records for table: storage
Begin copying records for table: tags
Finished copying 4 records for table: tags
Begin copying records for table: userKeys
Finished copying 0 records for table: userKeys
Begin copying records for table: users
Finished copying 3 records for table: users
Begin copying records for table: pageHistoryTags
Finished copying 0 records for table: pageHistoryTags
Begin copying records for table: pageTags
Finished copying 13 records for table: pageTags
Begin copying records for table: userGroups
Finished copying 3 records for table: userGroups
Begin copying records for table: pageHistory
Status: 23 records copied
Status: 47 records copied
Status: 71 records copied
Status: 95 records copied
Status: 119 records copied
Status: 143 records copied
Finished copying 150 records for table: pageHistory
Begin copying records for table: assetData
Finished copying 4 records for table: assetData
Begin copying records for table: assets
Finished copying 4 records for table: assets
Begin copying records for table: analytics
Finished copying 13 records for table: analytics
Begin copying records for table: pageLinks
Finished copying 19 records for table: pageLinks
Begin copying records for table: brute
Finished copying 0 records for table: brute
Begin copying records for table: sessions
Finished copying 0 records for table: sessions
Begin copying records for table: pageTree
Finished copying 17 records for table: pageTree
Finished copying data
Begin creating indexes
Finished creating indexes
Begin adding foreign key constraints
Error: Sequel::DatabaseError: PG::UndefinedTable: ERROR: relation "pageHistory_old" does not exist
/home/vagrant/.gem/ruby/2.5.0/gems/sequel-5.26.0/lib/sequel/adapters/postgres.rb:152:in `async_exec'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment