]> cat aescling's git repositories - mastodon.git/blob - app/models/user_invite_request.rb
Fix featured hashtag URL being interpreted as media or with_replies (#12048)
[mastodon.git] / app / models / user_invite_request.rb
1 # frozen_string_literal: true
2
3 # == Schema Information
4 #
5 # Table name: user_invite_requests
6 #
7 # id :bigint(8) not null, primary key
8 # user_id :bigint(8)
9 # text :text
10 # created_at :datetime not null
11 # updated_at :datetime not null
12 #
13
14 class UserInviteRequest < ApplicationRecord
15 belongs_to :user, inverse_of: :invite_request
16 validates :text, presence: true, length: { maximum: 420 }
17 end
This page took 0.081996 seconds and 5 git commands to generate.