diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2018-03-24 11:51:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 11:51:01 +0000 |
commit | ff6d498704cff88b823871d20c5dfcaa3345ead7 (patch) | |
tree | 1dcf255e6da8edf80c3e6745d4447ebc6221c1a7 /activerecord/test/schema | |
parent | 6aa5cf03ea8232180ffbbae4c130b051f813c670 (diff) | |
parent | 3f297be72b0a774d07cea3aa243f81cdbd6db2a3 (diff) | |
download | rails-ff6d498704cff88b823871d20c5dfcaa3345ead7.tar.gz rails-ff6d498704cff88b823871d20c5dfcaa3345ead7.tar.bz2 rails-ff6d498704cff88b823871d20c5dfcaa3345ead7.zip |
Merge pull request #32306 from danhuynhdev/feature/store-accessor-prefix
Add custom prefix to ActiveRecord::Store accessors
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index ca86100bc5..b9c7d447af 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -21,6 +21,8 @@ ActiveRecord::Schema.define do create_table :admin_users, force: true do |t| t.string :name t.string :settings, null: true, limit: 1024 + t.string :parent, null: true, limit: 1024 + t.string :spouse, null: true, limit: 1024 # MySQL does not allow default values for blobs. Fake it out with a # big varchar below. t.string :preferences, null: true, default: "", limit: 1024 |