aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-05-08 18:53:12 +0100
committerJon Leighton <j@jonathanleighton.com>2011-05-08 18:53:12 +0100
commita8daea4b85b2709600d5e894b7380149b0854b53 (patch)
tree6db7a372616d0299d840bb632dfe132e730d919d /activerecord/test/schema/schema.rb
parenta45f300e5f2d6b6581dd0f0d0f650c83b9773170 (diff)
parent4fbd8adf4824d48aea47a57047d90fb6510cee28 (diff)
downloadrails-a8daea4b85b2709600d5e894b7380149b0854b53.tar.gz
rails-a8daea4b85b2709600d5e894b7380149b0854b53.tar.bz2
rails-a8daea4b85b2709600d5e894b7380149b0854b53.zip
Merge pull request #332 from cmeiklejohn/bug6230_optimistic_locking_double_quoted
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb6
1 files changed, 6 insertions, 0 deletions
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