Sha256: 297c875c13ad841b980e080ac54e185c76a9505961120504091138325507a368

Contents?: true

Size: 363 Bytes

Versions: 59

Compression:

Stored size: 363 Bytes

Contents

class LastLogin < ActiveRecord::Migration

  def self.up
    add_column :readers, :last_seen, :datetime
    add_column :readers, :last_login, :datetime
    add_column :readers, :previous_login, :datetime
  end

  def self.down
    remove_column :readers, :last_seen
    remove_column :readers, :last_login
    remove_column :readers, :previous_login
  end
  
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
radiant-reader-extension-1.3.10 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.9 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.8 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.7 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.6 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.4 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.3 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.1 db/migrate/005_last_login.rb
radiant-reader-extension-1.3.0 db/migrate/005_last_login.rb
radiant-reader-extension-1.2.4 db/migrate/005_last_login.rb
radiant-reader-extension-1.2.3 db/migrate/005_last_login.rb
radiant-reader-extension-1.2.2 db/migrate/005_last_login.rb
radiant-reader-extension-1.2.1 db/migrate/005_last_login.rb
radiant-reader-extension-1.2.0 db/migrate/005_last_login.rb
radiant-reader-extension-1.1.1 db/migrate/005_last_login.rb
radiant-reader-extension-1.1.0 db/migrate/005_last_login.rb
radiant-reader-extension-1.0.1 db/migrate/005_last_login.rb
radiant-reader-extension-1.0.0 db/migrate/005_last_login.rb
radiant-reader-extension-0.9.2 db/migrate/005_last_login.rb