From 5aa1f5d39987e176631fa9119d12e0aaabf98787 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Mon, 26 May 2014 17:06:05 -0700 Subject: Allow specifying a default value in overloaded properties --- activerecord/test/schema/schema.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/test/schema') 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 -- cgit v1.2.3