add models for Project, Task, Note, Category

This commit is contained in:
2025-06-11 19:56:30 +02:00
parent 2a458f74d6
commit 9906b291f1
29 changed files with 345 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
class User < ApplicationRecord
has_secure_password
has_many :sessions, dependent: :destroy
belongs_to :organization, optional: false
has_many :projects
has_many :contacts
normalizes :email_address, with: ->(e) { e.strip.downcase }
end