add subproject kontor-rails
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
2026-06-01 23:47:57 +02:00
parent 71bd7641dc
commit b039ae97a9
148 changed files with 3139 additions and 0 deletions
@@ -0,0 +1,3 @@
class ApplicationRecord < ActiveRecord::Base
primary_abstract_class
end
+2
View File
@@ -0,0 +1,2 @@
class Artist < ApplicationRecord
end
+8
View File
@@ -0,0 +1,8 @@
class Comic < ApplicationRecord
belongs_to :publisher
has_many :issues, optional = true
has_many :story_arcs, optional = true
has_many :trade_paperbacks, optional = true
has_many :volumes, optional = true
has_many :comic_works, optional = true
end
+2
View File
@@ -0,0 +1,2 @@
class ComicWork < ApplicationRecord
end
+6
View File
@@ -0,0 +1,6 @@
class Issue < ApplicationRecord
belongs_to :comic
belongs_to :volume, optional = true
belongs_to :story_arc, optional = true
has_many :issue_works
end
+2
View File
@@ -0,0 +1,2 @@
class IssueWork < ApplicationRecord
end
+4
View File
@@ -0,0 +1,4 @@
class Publisher < ApplicationRecord
has_many :imprints, class_name: "Publisher", foreign_key: "parent_publisher_id"
has_many :comics
end
+5
View File
@@ -0,0 +1,5 @@
class StoryArc < ApplicationRecord
belongs_to :comics
belongs_to :volumes
has_many :issues
end
@@ -0,0 +1,3 @@
class TradePaperback < ApplicationRecord
belongs_to :comics
end
+5
View File
@@ -0,0 +1,5 @@
class Volume < ApplicationRecord
belongs_to :comics
has_many :story_arcs, optional = true
has_many :issues, optional = true
end
+2
View File
@@ -0,0 +1,2 @@
class Worktype < ApplicationRecord
end