features/support/db/migrations/create_robots.rb in warp-thinking-sphinx-1.2.12 vs features/support/db/migrations/create_robots.rb in warp-thinking-sphinx-1.3.10
- old
+ new
@@ -1,5 +1,4 @@
-ActiveRecord::Base.connection.create_table :robots, :id => false, :force => true do |t|
- t.column :alternate_primary_key, "int(11) DEFAULT NULL auto_increment PRIMARY KEY"
+ActiveRecord::Base.connection.create_table :robots, :primary_key => :alternate_primary_key, :force => true do |t|
t.column :name, :string, :null => false
t.column :internal_id, :string, :null => false
end