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-3.7.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.7.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.6.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.6.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.6.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.5.5 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.5.4 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.5.3 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.5.2 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.5.1 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.5.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.4.0 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.3.7 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.3.6 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.3.5 db/migrate/020_add_session_info_to_users.rb
trusty-cms-3.3.3 db/migrate/020_add_session_info_to_users.rb