Sha256: b39d6badb47e815ba94d0301f05baca1298fb8b0957727050ec6faff53258b68
Contents?: true
Size: 462 Bytes
Versions: 17
Compression:
Stored size: 462 Bytes
Contents
class AddTrackableToUser < ActiveRecord::Migration[7.0] def change add_column :users, :sign_in_count, :bigint, default: 0, null: false, if_not_exists: true add_column :users, :current_sign_in_at, :datetime, if_not_exists: true add_column :users, :last_sign_in_at, :datetime, if_not_exists: true add_column :users, :current_sign_in_ip, :string, if_not_exists: true add_column :users, :last_sign_in_ip, :string, if_not_exists: true end end
Version data entries
17 entries across 17 versions & 1 rubygems