valkyrie's Issues
wrong number of arguments (0 for 1) (ArgumentError)
Currently throws the following stack trace:
Transferring 16 tables:
/var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/progress_bar.rb:146:in `to_s': wrong number of arguments (0 for 1) (ArgumentError)
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/progress_bar.rb:146:in `sprintf'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/progress_bar.rb:146:in `show'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/progress_bar.rb:32:in `initialize'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/cli.rb:23:in `new'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/cli.rb:23:in `start'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/database.rb:19:in `call'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/database.rb:19:in `transfer_to'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/database.rb:18:in `each'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/database.rb:18:in `transfer_to'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/lib/valkyrie/cli.rb:20:in `start'
from /var/lib/gems/1.8/gems/valkyrie-0.0.2/bin/valkyrie:7
from /usr/local/bin/valkyrie:19:in `load'
from /usr/local/bin/valkyrie:19
Sqlite -> Postgres / Model ID's
When transferring data from Sqlite to Postgres, the auto-incrementing 'trigger' for the model-id is lost.
In Sqlite, the ID field is stored as an integer. In Postgres, after running db:migrate, ID is a serial field. But after transferring data with Valkyrie, ID is changed to an integer field. Then when you try to add a record, you get a validation error because the ID value is not generated.
Using taps, data transfer from Sqlite to Postgres works OK.
Issue with Postgres schemas
Awesome gem, I've been using it for a bit and it is very simple and powerful. I do have 1 suggestion though. Recently, I have been working on a rails app that is using postgres schemas. When trying to use valkyrie, it would just dump all data from my remote server into my public schema. As an improvement, it would be awesome if there was an optional parameter to let you pass in the name of schemas :)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.