mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fix merge develop branch
This commit is contained in:
9
app/models/gitea/public_key.rb
Normal file
9
app/models/gitea/public_key.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class Gitea::PublicKey < Gitea::Base
|
||||
self.inheritance_column = nil # FIX The single-table inheritance mechanism failed
|
||||
# establish_connection :gitea_db
|
||||
|
||||
self.table_name = "public_key"
|
||||
|
||||
belongs_to :user, class_name: '::User', foreign_key: :gitea_uid, primary_key: :owner_id, optional: true
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user