Sha256: 7348508b427f9ca9570bc6e3ac24ca8db8bc80cb80895983f5ca7e86358b408b

Contents?: true

Size: 286 Bytes

Versions: 114

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

114 entries across 114 versions & 1 rubygems

Version Path
trusty-cms-7.0.10 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.9 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.8 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.7 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.6 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.5 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.4 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.3 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.3.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-7.0.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.3 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.2.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.2.2.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.2.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.1.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.1.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.0.5 db/migrate/020_add_session_info_to_users.rb
trusty-cms-6.0.4 db/migrate/020_add_session_info_to_users.rb