lib/dm-rails/session_store.rb in dm-rails-1.0.0.rc2 vs lib/dm-rails/session_store.rb in dm-rails-1.0.0.rc3

- old
+ new

@@ -10,12 +10,12 @@ class Session include ::DataMapper::Resource property :id, Serial - property :session_id, String, :required => true, :unique => true, :unique_index => true + property :session_id, String, :required => true, :unique => true property :data, Object, :required => true, :default => ActiveSupport::Base64.encode64(Marshal.dump({})) - property :updated_at, DateTime, :required => false, :index => true + property :updated_at, DateTime, :index => true def self.name 'session' end