Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sevenseacat/30e832d8db50212af26b476673578def to your computer and use it in GitHub Desktop.
Save sevenseacat/30e832d8db50212af26b476673578def to your computer and use it in GitHub Desktop.
after running `drop index index_profiles_on_user_id;`
Column | Type | Modifiers
------------+-----------------------------+-------------------------------------------------------
id | integer | not null default nextval('profiles_id_seq'::regclass)
user_id | integer |
created_at | timestamp without time zone | not null
updated_at | timestamp without time zone | not null
Indexes:
"profiles_pkey" PRIMARY KEY, btree (id)
"profiles_user_id_idx" UNIQUE, btree (user_id)
Foreign-key constraints:
"fk_rails_e424190865" FOREIGN KEY (user_id) REFERENCES users(id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment