aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-01-09 22:31:13 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-01-09 22:31:13 +0100
commit62abae917281f18b882abb6222d64d049e755047 (patch)
tree8e548715e2464ec3350bc52f79f2f89e7245072d /activerecord/test/schema
parent224eddfc0eeff6555ae88691306e61c7a9e8b758 (diff)
downloadrails-62abae917281f18b882abb6222d64d049e755047.tar.gz
rails-62abae917281f18b882abb6222d64d049e755047.tar.bz2
rails-62abae917281f18b882abb6222d64d049e755047.zip
Add conditional_token to users.
Fix the NoMethodErrors introduced in 224eddf, when adding conditional token creation. The model declarations but the column wasn't added to the schema.
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 025184f63a..4a74137c00 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -1007,6 +1007,7 @@ ActiveRecord::Schema.define do
create_table :users, force: true do |t|
t.string :token
t.string :auth_token
+ t.string :conditional_token
end
create_table :test_with_keyword_column_name, force: true do |t|