# Pastebin FpeHULdC model User is table is rw is export { has Int $.id is serial; has Str $.username is unique; has Str $.password is column; has Str $.email is unique; has DateTime $.registration-date is column{ :type } = DateTime.now; has Bool $.disabled is column = False; has @.posts is relationship({ .author-id }, :model); method verify-password($password) { argon2-verify($password, $!password); } method disable { $!disabled = True; self.^save; } }