Add posts, tags, tagging, to database. Create references to align with new DB model. Add image of mermaid template model.

This commit is contained in:
hannah.dagemark 2025-05-15 16:35:29 +02:00 committed by Hannah Dagemark
commit 8ee5dd9322
17 changed files with 154 additions and 2 deletions

View file

@ -1,3 +1,6 @@
class User < ApplicationRecord
has_secure_password
has_many :posts
validates :name, :status, :email, :password_digest, presence: true
end