Displaying 1 result from an estimated 1 matches for "aheck".
Did you mean:
check
2007 Oct 16
2
Primary Keys enforcement vanishes in test database
I use this naming convention for primary keys:
ActiveRecord::Base.primary_key_prefix_type
= :table_name_with_underscore
I generate the MySQL test database: rake db:test:prepare, and although
the column is there there is no primary key enforcement/index and no
autoincrement (so activerecord saves fail). Is this a bug? What is
the best workaround?
Alan