Add editable contents table

This commit is contained in:
2025-05-28 18:39:25 +04:00
parent c7a21c7a69
commit 5c8ffc2630
3 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
class EditableContent < ApplicationRecord
validates :key, presence: true,
uniqueness: { scope: :path }
end