isfit/internal.isfit.org

DB-views not present i schema.rb

Opened this issue · 2 comments

Database-views appear to have been constructed in the database manually, meaning rake db:schema:load will not work because instructions to construct db-views are not present.

Our views from other databases have been a long standing pain for us. THis is why we want to integrate core into internal to hopefully fix some of the more complicated view-logic away.

Any suggestions on how to fix it with isfit.org?

https://github.com/mremolt/rails_sql_views is a Rails 3.1.1-compatible gem to create views through migrations. That might work for isfit.org. A dangerous solution for internal is reverse-engineering the create-view-instructions from the existing database and put in schema.rb.