midas / usesguid_migrations

Makes your migrations work with usesguid plugin without explicitly defining the primary key id in migrations.
MIT License
5 stars 2 forks source link

db:migrate works but db:setup does not #3

Open alvarezm50 opened 14 years ago

alvarezm50 commented 14 years ago

with mysql 5.0 rails 2.3.5 and usesguid_migrations 1.0.3

db:migrate creates the database correctly

db:setup does not create the id fields, if the id => false option is removed from schema.rb then db:setup works.

with SQLite3, schema.rb is never generated because of Could not dump table "users" because of following NoMethodError undefined method `primary_key_name' for ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x1052dfe50

Keep up the great work with usesguid_migrations thanks

hlascelles commented 12 years ago

Still an issue with Rails 3.2.3...