aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorrobertomiranda <rjmaltamar@gmail.com>2014-12-28 17:24:10 -0500
committerrobertomiranda <rjmaltamar@gmail.com>2015-01-04 11:31:37 -0500
commit5a58ba3366ec6092fcd0e69340acd93f347d2576 (patch)
tree15aadec84d8cd0749aeac947cdeafcdb52bbdf9a /activerecord/test/schema
parent6489a84eb69162ccefac106d08bae1c31a2b4fa5 (diff)
downloadrails-5a58ba3366ec6092fcd0e69340acd93f347d2576.tar.gz
rails-5a58ba3366ec6092fcd0e69340acd93f347d2576.tar.bz2
rails-5a58ba3366ec6092fcd0e69340acd93f347d2576.zip
Add has_secure_token to Active Record
Update SecureToken Docs Add Changelog entry for has_secure_token [ci skip]
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 5907d6ef97..e283f7a9cc 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -892,6 +892,11 @@ ActiveRecord::Schema.define do
t.string :overloaded_string_with_limit, limit: 255
t.string :string_with_default, default: 'the original default'
end
+
+ create_table :users, force: true do |t|
+ t.string :token
+ t.string :auth_token
+ end
end
Course.connection.create_table :courses, force: true do |t|