fix merge develop branch

This commit is contained in:
jasder
2021-07-23 14:16:29 +08:00
20 changed files with 679 additions and 12 deletions

View 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