Sha256: 99e158d0cfe2faa32d4b028073fdff08f10a8cc3f72741e5d81ca7ddcea55ac3

Contents?: true

Size: 280 Bytes

Versions: 43

Compression:

Stored size: 280 Bytes

Contents

class AddSessionInfoToUsers < ActiveRecord::Migration
  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

43 entries across 43 versions & 6 rubygems

Version Path
trusty-cms-1.0.0 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.4 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.3 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.2 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.1 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.0 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.0.rc1 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.0.beta db/migrate/020_add_session_info_to_users.rb
radiant-1.0.1 db/migrate/020_add_session_info_to_users.rb
radiant-1.1.0.alpha db/migrate/020_add_session_info_to_users.rb
radiant-1.0.0 db/migrate/020_add_session_info_to_users.rb
radiant-1.0.0.rc5 db/migrate/020_add_session_info_to_users.rb
radiant-1.0.0.rc4 db/migrate/020_add_session_info_to_users.rb
radiant-1.0.0.rc3 db/migrate/020_add_session_info_to_users.rb
kajam-1.0.3.rc2 db/migrate/020_add_session_info_to_users.rb
radiant-1.0.0.rc2 db/migrate/020_add_session_info_to_users.rb
radiant-1.0.0.rc1 db/migrate/020_add_session_info_to_users.rb
radiant-rails3-0.1 db/migrate/020_add_session_info_to_users.rb
radiantcms-couchrest_model-0.2.4 db/migrate/020_add_session_info_to_users.rb
radiantcms-couchrest_model-0.2.2 db/migrate/020_add_session_info_to_users.rb