aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-12-29 03:11:57 -0500
committerGitHub <noreply@github.com>2016-12-29 03:11:57 -0500
commit7ca4b2a76d69d86e1afa92cb0f201f0168815636 (patch)
treeb860fb228b32ec0993aaad15bb517babab3c6b8b /activerecord/test/schema
parent3c90818129e9e295f35c928317c55c111a43d8a9 (diff)
parent9abf606a79729833fd90f624ed580ad85f3ebadc (diff)
downloadrails-7ca4b2a76d69d86e1afa92cb0f201f0168815636.tar.gz
rails-7ca4b2a76d69d86e1afa92cb0f201f0168815636.tar.bz2
rails-7ca4b2a76d69d86e1afa92cb0f201f0168815636.zip
Merge pull request #27490 from kamipo/should_not_update_children_when_parent_creation_with_no_reason
Should not update children when the parent creation with no reason
Diffstat (limited to 'activerecord/test/schema')
-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 9d76d0537e..ba6f5de894 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -574,6 +574,7 @@ ActiveRecord::Schema.define do
t.column :color, :string
t.column :parrot_sti_class, :string
t.column :killer_id, :integer
+ t.column :updated_count, :integer, default: 0
if subsecond_precision_supported?
t.column :created_at, :datetime, precision: 0
t.column :created_on, :datetime, precision: 0