mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-21 07:59:01 +00:00
* Improves ruby code in app/models/app_user.rb based on suggestions from Rubocop * Rubocop fixes for more models
10 lines
271 B
Ruby
10 lines
271 B
Ruby
# frozen_string_literal: true
|
|
|
|
class App < ApplicationRecord
|
|
belongs_to :organization
|
|
has_many :data_queries
|
|
has_many :app_users
|
|
has_many :app_versions
|
|
belongs_to :current_version, class_name: "AppVersion", optional: true
|
|
belongs_to :user, optional: true
|
|
end
|