Sha256: 905bc5e630476929f16450fa277db6662afd055a9b083d357997d8f09519e9a9
Contents?: true
Size: 312 Bytes
Versions: 16
Compression:
Stored size: 312 Bytes
Contents
class AddUserAuthenticationToken < ActiveRecord::Migration def change add_column :users, :authentication_token, :string add_index :users, :authentication_token, :unique => true end def down remove_index :users, :authentication_token remove_column :users, :authentication_token end end
Version data entries
16 entries across 16 versions & 1 rubygems