aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2016-10-21 09:08:38 -0700
committerGitHub <noreply@github.com>2016-10-21 09:08:38 -0700
commit0aed0bbb2956e3607a1a15d260a0833d4d3a7aa0 (patch)
treeb397dd02111aaf30d6e042a66a20ad0d27669500 /activerecord/test/schema/schema.rb
parent4393406a8ac0d3c616210a96bca81dd6a12bf881 (diff)
parenta60a20bb7faae4d0758676b865f625275c500e4e (diff)
downloadrails-0aed0bbb2956e3607a1a15d260a0833d4d3a7aa0.tar.gz
rails-0aed0bbb2956e3607a1a15d260a0833d4d3a7aa0.tar.bz2
rails-0aed0bbb2956e3607a1a15d260a0833d4d3a7aa0.zip
Merge pull request #26050 from bogdanvlviv/optimistic_locking
Fixed: Optimistic locking does not work correctly
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index d2fb090118..983ac076a9 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -436,10 +436,12 @@ ActiveRecord::Schema.define do
end
create_table :lock_without_defaults, force: true do |t|
+ t.column :title, :string
t.column :lock_version, :integer
end
create_table :lock_without_defaults_cust, force: true do |t|
+ t.column :title, :string
t.column :custom_lock_version, :integer
end