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
# == Schema Information
#
# Table name: account_discounts
#
# id :uuid not null, primary key
# ends_on :date
# granted_by_email :string
# percent_off :integer not null
# reason :string
# starts_on :date not null
# created_at :datetime not null
# updated_at :datetime not null
# account_id :uuid not null
#
# Indexes
#
# index_account_discounts_on_account_id_and_starts_on (account_id,starts_on)
#
# Foreign Keys
#
# fk_rails_... (account_id => accounts.id)
#
FactoryBot.define do
factory :account_discount do
account
percent_off { 30 }
starts_on { Date.current }
ends_on { Date.current + 6.months }
reason { 'Gründungskunde' }
granted_by_email { '[email protected]' }
end
end