From 4fbd8adf4824d48aea47a57047d90fb6510cee28 Mon Sep 17 00:00:00 2001 From: Christopher Meiklejohn Date: Mon, 14 Mar 2011 22:19:47 -0400 Subject: Don't quote ID's as Arel will quote them -- follow same conventions as the delete method. --- activerecord/test/schema/schema.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activerecord/test/schema/schema.rb') diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 9479242e4f..c20304c0e2 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -543,6 +543,12 @@ ActiveRecord::Schema.define do t.string :sponsorable_type end + create_table :string_key_objects, :id => false, :primary_key => :id, :force => true do |t| + t.string :id + t.string :name + t.integer :lock_version, :null => false, :default => 0 + end + create_table :students, :force => true do |t| t.string :name end -- cgit v1.2.3