Created
October 16, 2018 23:18
-
-
Save botanicus/5064ebee7fd32baaa6e1fda66184cf2b to your computer and use it in GitHub Desktop.
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
byc-api 2.2.10 % RAILS_ENV=test be rake db:schema:load [1] | |
Patching ActiveRecord::Relation#or. This might blow up | |
-- create_table("answers", {:force=>:cascade}) | |
-> 0.0236s | |
-- add_index("answers", ["question_id"], {:name=>"index_answers_on_question_id", :using=>:btree}) | |
-> 0.0104s | |
-- create_table("committee_members", {:force=>:cascade}) | |
-> 0.0209s | |
-- add_index("committee_members", ["committee_id"], {:name=>"index_committee_members_on_committee_id", :using=>:btree}) | |
-> 0.0119s | |
-- add_index("committee_members", ["pid"], {:name=>"index_committee_members_on_pid", :using=>:btree}) | |
rake aborted! | |
ActiveRecord::StatementInvalid: Mysql2::Error: Specified key was too long; max key length is 767 bytes: CREATE INDEX `index_committee_members_on_pid` USING btree ON `committee_members` (`pid`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment