Created
April 7, 2017 02:21
-
-
Save sevenseacat/30e832d8db50212af26b476673578def to your computer and use it in GitHub Desktop.
after running `drop index index_profiles_on_user_id;`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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