Closed ronna-s closed 9 years ago
I solved this problem by implementing ActiveRecord::SchemaDumper#table and adding ActiveRecord::ConnectionAdapters::TableDefinition#geometry. But the problem and the solution is coupled with rgeo-activerecord gem. So I'm not sure how and where to submit my code.
See patch here: https://gist.github.com/ronna-s/9199122
Resolved in #15
May I know how to solve this error?
Are you using ActiveRecord 4.1? Because this gem is unfortunately compatible only with older ActiveRecord 4 @DhawalSawla
@januszm Sorry for the late reply. I am using ActiveRecord 4.2. The issue is not while generating the schema file. The migration happens correctly and I see this error in the schema file.
Since the migration is done without any blocker, I ignore this.
But when I deploy to the codeship, the codeship does not create the offer_v2_locations model since this model is not created in the schema file.
I need to know how to create the model in the schema file so that on codeship, i can run my test cases.
rake db:schema:dump generates error: