gitlink-forgeplus/app/models/gitea/repo_unit.rb

10 lines
305 B
Ruby

class Gitea::RepoUnit < Gitea::Base
self.inheritance_column = nil # FIX The single-table inheritance mechanism failed
# establish_connection :gitea_db
self.table_name = "repo_unit"
# belongs_to :user, class_name: '::User', primary_key: :gitea_uid, foreign_key: :owner_id, optional: true
end