aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-05-26 17:06:05 -0700
committerSean Griffin <sean@thoughtbot.com>2014-05-30 08:51:58 -0700
commit5aa1f5d39987e176631fa9119d12e0aaabf98787 (patch)
tree8e8e2da8fd7ccadb3448c9cfe956610af41f57ae /activerecord/test/schema
parent8c77b0a086bb47ef7cd4b827460a51613f94094e (diff)
downloadrails-5aa1f5d39987e176631fa9119d12e0aaabf98787.tar.gz
rails-5aa1f5d39987e176631fa9119d12e0aaabf98787.tar.bz2
rails-5aa1f5d39987e176631fa9119d12e0aaabf98787.zip
Allow specifying a default value in overloaded properties
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 4cce58f4f4..5f459cf682 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -860,6 +860,7 @@ ActiveRecord::Schema.define do
t.float :overloaded_float, default: 500
t.float :unoverloaded_float
t.string :overloaded_string_with_limit, limit: 255
+ t.string :string_with_default, default: 'the original default'
end
end