Sha256: 7348508b427f9ca9570bc6e3ac24ca8db8bc80cb80895983f5ca7e86358b408b

Contents?: true

Size: 286 Bytes

Versions: 116

Compression:

Stored size: 286 Bytes

Contents

class AddSessionInfoToUsers < ActiveRecord::Migration[5.2]
  def self.up
    add_column :users, :session_token, :string
    add_column :users, :session_expire, :datetime
  end

  def self.down
    remove_column :users, :session_token
    remove_column :users, :session_expire
  end
end

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
trusty-cms-4.1.3 db/migrate/020_add_session_info_to_users.rb
trusty-cms-4.1.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-4.1.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-4.1.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-4.0.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.7 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.6 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.5 db/migrate/020_add_session_info_to_users.rb
trusty-cms-4.0.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.4 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.3 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-4.0.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.9.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.8.4 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.8.3 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.8.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.8.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.8.0 db/migrate/020_add_session_info_to_users.rb