aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorAndrew White <pixeltrix@users.noreply.github.com>2018-03-24 11:51:01 +0000
committerGitHub <noreply@github.com>2018-03-24 11:51:01 +0000
commitff6d498704cff88b823871d20c5dfcaa3345ead7 (patch)
tree1dcf255e6da8edf80c3e6745d4447ebc6221c1a7 /activerecord/test/schema
parent6aa5cf03ea8232180ffbbae4c130b051f813c670 (diff)
parent3f297be72b0a774d07cea3aa243f81cdbd6db2a3 (diff)
downloadrails-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.rb2
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