diff options
author | robertomiranda <rjmaltamar@gmail.com> | 2014-12-28 17:24:10 -0500 |
---|---|---|
committer | robertomiranda <rjmaltamar@gmail.com> | 2015-01-04 11:31:37 -0500 |
commit | 5a58ba3366ec6092fcd0e69340acd93f347d2576 (patch) | |
tree | 15aadec84d8cd0749aeac947cdeafcdb52bbdf9a /activerecord/test/schema | |
parent | 6489a84eb69162ccefac106d08bae1c31a2b4fa5 (diff) | |
download | rails-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.rb | 5 |
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| |