aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorFranck Verrot <franck@verrot.fr>2010-11-27 11:14:26 +0100
committerSantiago Pastorino and José Ignacio Costa <santiago+jose@wyeworks.com>2011-02-09 18:27:40 -0200
commit8bc464c8090f2929917ecd2d9476c914aa6da787 (patch)
tree7d392467d5a10756edca0f302f2b518e4acb68de /activerecord/test/schema/schema.rb
parentd3b2596884d884b72d50de2b7ced6097df670736 (diff)
downloadrails-8bc464c8090f2929917ecd2d9476c914aa6da787.tar.gz
rails-8bc464c8090f2929917ecd2d9476c914aa6da787.tar.bz2
rails-8bc464c8090f2929917ecd2d9476c914aa6da787.zip
The optimistic lock column should be increased when calling touch
Signed-off-by: Santiago Pastorino and José Ignacio Costa <santiago+jose@wyeworks.com>
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index b1763ff431..0b3865fc78 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -430,6 +430,7 @@ ActiveRecord::Schema.define do
t.references :number1_fan
t.integer :lock_version, :null => false, :default => 0
t.string :comments
+ t.timestamps
end
create_table :pets, :primary_key => :pet_id ,:force => true do |t|