Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
# frozen_string_literal: true
# Presence heartbeat column. Nullable, no default -> no table rewrite / long
# lock on the (small) users table. Written via a throttled update_all from the
# request cycle (User::Presence#mark_seen!), read for the "online" dot and the
# admin "last active" tile. The index backs future sort/filter by activity.
class AddLastSeenAtToUsers < ActiveRecord::Migration[8.0]
def change
add_column :users, :last_seen_at, :datetime
add_index :users, :last_seen_at
end
end