Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix the initial creation of the database. #169

Closed
wants to merge 1 commit into from

2 participants

@nud
nud commented

A small bug in the schema.rb file prevents the database to be created correctly (at least on Debian Squeeze.)

Also (not fixed here) the elasticsearch engine needs to run for the db setup to complete. README.rb should probably be updated accordingly;

@nono
Owner

Thanks

@nono nono closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 2, 2012
  1. @nud
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  db/schema.rb
View
2  db/schema.rb
@@ -98,7 +98,7 @@
add_index "comments", ["node_id"], :name => "index_comments_on_node_id"
add_index "comments", ["state", "created_at"], :name => "index_comments_on_state_and_created_at"
- add_index "comments", ["state", "materialized_path"], :name => "index_comments_on_state_and_materialized_path", :length => {"state"=>nil, "materialized_path"=>120}
+ add_index "comments", ["state", "materialized_path"], :name => "index_comments_on_state_and_materialized_path", :length => {"materialized_path"=>120}
add_index "comments", ["user_id", "answered_to_self"], :name => "index_comments_on_user_id_and_answered_to_self"
add_index "comments", ["user_id", "state", "created_at"], :name => "index_comments_on_user_id_and_state_and_created_at"
Something went wrong with that request. Please try again.