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-3.0.38 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.37 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.36 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.35 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.33 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.32 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.31 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.30 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.29 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.28 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.27 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.26 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.25 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.24 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.23 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.20 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.19 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.18 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.17 db/migrate/005_last_login.rb
radiant-reader-extension-3.0.16 db/migrate/005_last_login.rb