Skip to content

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.

332 B
Raw Blame
# frozen_string_literal: true

class AddLastAccessedAtToProjectPermissions < ActiveRecord::Migration[8.0]
  def change
    add_column :project_permissions, :last_accessed_at, :datetime
    add_index :project_permissions, [:user_id, :last_accessed_at],
              name: "index_project_permissions_on_user_last_accessed"
  end
end