{"action":"opened","issue":{"url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/662","labels_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/662/labels{/name}","comments_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/662/comments","events_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/662/events","html_url":"https://github.com/rsim/oracle-enhanced/issues/662","id":92976592,"number":662,"title":"OCIError: ORA-00904","user":{"login":"Dharshi","id":303834,"avatar_url":"https://avatars.githubusercontent.com/u/303834?v=3","gravatar_id":"","url":"https://api.github.com/users/Dharshi","html_url":"https://github.com/Dharshi","followers_url":"https://api.github.com/users/Dharshi/followers","following_url":"https://api.github.com/users/Dharshi/following{/other_user}","gists_url":"https://api.github.com/users/Dharshi/gists{/gist_id}","starred_url":"https://api.github.com/users/Dharshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dharshi/subscriptions","organizations_url":"https://api.github.com/users/Dharshi/orgs","repos_url":"https://api.github.com/users/Dharshi/repos","events_url":"https://api.github.com/users/Dharshi/events{/privacy}","received_events_url":"https://api.github.com/users/Dharshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-04T06:15:40Z","updated_at":"2015-07-04T06:15:40Z","closed_at":null,"body":"I have done following updates\r\n\r\nrails from 4.1.0 to 4.2.3\r\nactiverecord-oracle_enhanced-adapter from 1.5.5 to 1.6.0\r\nruby-oci8 from 2.1.7 to 2.1.8\r\n\r\nwhen I run\r\nbundle exec rake db:schema:load\r\n\r\nit results following error\r\n\r\nadd_index(\"users\", [\"LOWER(\\\"USER_ID\\\")\"], {:name=>\"index_users_on_lower_user_id\", :unique=>true})\r\nrake aborted!\r\nActiveRecord::StatementInvalid: OCIError: ORA-00904: : invalid identifier: ALTER TABLE \"USERS\" ADD CONSTRAINT \"INDEX_USERS_ON_LOWER_USER_ID\" UNIQUE (LOWER(\"USER_ID\"))\r\nstmt.c:250:in oci8lib_220.bundle\r\n\r\n/Users/dharshi/.rvm/gems/ruby-2.2.1@iteach/gems/ruby-oci8-2.1.8/lib/oci8/cursor.rb:129:in `exec'"}}