remove versioning

This commit is contained in:
2026-01-23 14:00:18 +01:00
parent 396e649960
commit faf87fe44f
9 changed files with 15 additions and 73 deletions
-1
View File
@@ -4,7 +4,6 @@ class Entry < ApplicationRecord
has_many :suggested_meanings, dependent: :destroy
has_many :comments, as: :commentable, dependent: :destroy
has_many :entry_versions, dependent: :destroy
enum :category, %i[word phrase proper_name title reference other]
-6
View File
@@ -1,6 +0,0 @@
class EntryVersion < ApplicationRecord
belongs_to :entry
belongs_to :user
validates :changes_made, presence: true
end
-1
View File
@@ -14,7 +14,6 @@ class User < ApplicationRecord
class_name: "SuggestedMeaning",
foreign_key: :reviewed_by_id,
dependent: :nullify
has_many :entry_versions, dependent: :nullify
has_many :comments, dependent: :nullify
enum :role, %i[contributor reviewer admin]