Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB-views not present i schema.rb #22

Open
christiankn opened this issue May 1, 2012 · 2 comments
Open

DB-views not present i schema.rb #22

christiankn opened this issue May 1, 2012 · 2 comments
Labels

Comments

@christiankn
Copy link
Contributor

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.

@dagingaa
Copy link
Contributor

dagingaa commented May 1, 2012

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?

@christiankn
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants