ProfileEdit
final class ProfileEdit : ModelWhen a UserProfile is edited, a ProfileEdit is created and associated with the
profile. The ProfileEdit records the state of the profile just before the edit occurred.
This is done for accountability purposes and the data collected is intended to be viewable
only by users with an access level of .moderator or above.
See
See Also: CreateProfileEditSchema the Migration for creating the ProfileEdit table in the database.- 
                  
                  DeclarationSwift static let schema: String
- 
                  
                  The edit’s ID. DeclarationSwift @ID var id: UUID?
- 
                  
                  The UserProfileDatacontents of the user’s profile, just before the edit.DeclarationSwift @OptionalField var profileData: UserProfileUploadData?
- 
                  
                  The user’s userImage filename, just before the edit. DeclarationSwift @OptionalField var profileImage: String?
- 
                  
                  Timestamp of the model’s creation, set automatically. DeclarationSwift @Timestamp var createdAt: Date?
- 
                  
                  DeclarationSwift init()
- 
                  
                  Initializes a new ProfileEdit. 
 View on GitHub
            View on GitHub
           ProfileEdit Class Reference
      ProfileEdit Class Reference