ruby on rails - Postgres throws error when running import from activerecord-import gem -
i switched postgres in development , next error breaks test case:
pg::error: error: column "id" of relation "assets_content_nodes" not exist : select pg_get_serial_sequence($1, $2)
same error happens in development , production environments not show stopper , not impact import. assets_content_nodes bring together table , i'd rather not add together 'id' column. ideas why may happening?
this fixed in activerecord-import -v0.3.1 (or perchance before version, broken in 0.2.11 , earlier). no longer need id
column on table import.
ruby-on-rails postgresql activerecord-import
No comments:
Post a Comment