Created
February 25, 2010 14:55
-
-
Save joakimk/314591 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Bug? | |
The SchemaDumper in rails, which is used by rake db:schema:dump expects there to be either a | |
"pk_and_sequence_for" or "primary_key" on the connection adapter. See line 82: | |
http://github.com/rails/rails/blob/master/activerecord/lib/active_record/schema_dumper.rb#L82 | |
However... the jdbcmysql adapter does not have either method. The result of this is that running | |
"jruby -S rake db:schema:dump" will create a schema.rb where every table has :id => false. | |
http://github.com/nicksieger/activerecord-jdbc-adapter/blob/master/lib/jdbc_adapter/jdbc_mysql.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment