diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2019-06-19 13:04:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 13:04:32 +0200 |
commit | aae270de9e0862f31b14642908472d235a17936f (patch) | |
tree | 5767421c16e244e15de4043afaa2d8f7a539c8c5 /activerecord/test/models | |
parent | aeba121a83965d242ed6d7fd46e9c166079a3230 (diff) | |
parent | 17acb771d815f030ac1cf36b1af4050f02816c39 (diff) | |
download | rails-aae270de9e0862f31b14642908472d235a17936f.tar.gz rails-aae270de9e0862f31b14642908472d235a17936f.tar.bz2 rails-aae270de9e0862f31b14642908472d235a17936f.zip |
Merge pull request #35891 from Shopify/schema-cache-deduplication
Deduplicate various Active Record schema cache structures
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/contact.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/activerecord/test/models/contact.rb b/activerecord/test/models/contact.rb index 6e02ff199b..d5f6f00691 100644 --- a/activerecord/test/models/contact.rb +++ b/activerecord/test/models/contact.rb @@ -10,14 +10,14 @@ module ContactFakeColumns table_name => "id" } - column :id, :integer - column :name, :string - column :age, :integer - column :avatar, :binary - column :created_at, :datetime - column :awesome, :boolean - column :preferences, :string - column :alternative_id, :integer + column :id, "integer" + column :name, "string" + column :age, "integer" + column :avatar, "binary" + column :created_at, "datetime" + column :awesome, "boolean" + column :preferences, "string" + column :alternative_id, "integer" serialize :preferences @@ -37,7 +37,7 @@ end class ContactSti < ActiveRecord::Base extend ContactFakeColumns - column :type, :string + column :type, "string" def type; "ContactSti" end end |