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
class CreateRoles < ActiveRecord::Migration[8.0]
def change
create_table :roles, id: :uuid do |t|
t.string :title, null: false
t.text :description
t.boolean :default_role, default: false
t.uuid :organisation_id, null: false
t.timestamps
end
add_index :roles, [:organisation_id, :title], unique: true
add_foreign_key :roles, :organisations
end
end