Sha256: 22833cf80be191e041828868b33986cdc45a951c8dfc2395a10df95dd718935c

Contents?: true

Size: 181 Bytes

Versions: 154

Compression:

Stored size: 181 Bytes

Contents

class AddLastSeenToSessions < ActiveRecord::Migration
	def self.up
		add_column :sessions, :last_seen, :timestamp
	end
	def self.down
		remove_column :sessions, :last_seen
	end
end

Version data entries

154 entries across 154 versions & 1 rubygems

Version Path
metasploit_data_models-0.22.7 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.7-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.6 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.6-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.5 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.5-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.4 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.4-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.3 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.3-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.2 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.2-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.1 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.22.1-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.21.3 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.21.3-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.21.2 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.21.2-java db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.21.1 db/migrate/20110425095900_add_last_seen_to_sessions.rb
metasploit_data_models-0.21.0 db/migrate/20110425095900_add_last_seen_to_sessions.rb