lib/files/database_schema.rb in knjappserver-0.0.26 vs lib/files/database_schema.rb in knjappserver-0.0.28

- old
+ new

@@ -91,10 +91,10 @@ "columns" => [ {"name" => "id", "type" => "bigint", "autoincr" => true, "primarykey" => true}, {"name" => "idhash", "type" => "varchar"}, {"name" => "sess_data", "type" => "text"}, {"name" => "date_added", "type" => "datetime"}, - {"name" => "date_lastused", "type" => "datetime", "on_created" => proc{|d| d["db"].query("UPDATE Session SET date_lastused = '#{Knj::Datet.new.dbstr}'")}}, + {"name" => "date_lastused", "type" => "datetime", "on_created" => proc{|d| d["db"].query("UPDATE Session SET date_lastused = '#{Datet.new.dbstr}'")}}, {"name" => "ip", "type" => "varchar", "maxlength" => 15}, {"name" => "user_agent", "type" => "text"}, {"name" => "remember", "type" => "enum", "maxlength" => "'0','1'", "default" => 0, "comment" => "If the session should be remembered or not."} ], "indexes" => [ \ No newline at end of file