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
# Nullable by design (D3/D8, CLAUDE.md "Lange Locks vermeiden"): existing
# organisations get backfilled via Account.backfill_all! (T4, lib/tasks/accounts.rake)
# and new ones via Organisation#ensure_account (T3) before this column becomes
# NOT NULL in a later, separate migration.
class AddAccountIdToOrganisations < ActiveRecord::Migration[8.0]
def change
add_reference :organisations, :account, type: :uuid, null: true, foreign_key: true
end
end