Displaying 1 result from an estimated 1 matches for "index_sf_events_on_account_id".
2013 Jul 23
1
Postgres adapter misconfigured on Linux?
...ass AddIndexToEvents < ActiveRecord::Migration
> def change
> add_index :sf_events, :account_id
> end
> end
However, when I run the migration, it fails due to a syntax error on the
CREATE INDEX line. I''m expecting some SQL like this to be generated:
CREATE INDEX index_sf_events_on_account_id ON sf_events (account_id);
But instead I get something like this:
CREATE INDEX index_sf_events_on_account_id ON sf_events ( );
The migration works fine on my friend''s Mac, but it fails on my Linux box.
It seems like I may have the wrong/outdated packages. I''m running Ubu...