mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 20:15:10 +01:00
8b69a66380
* Add "why do you want to join" field to invite requests Fix #10512 * Remove unused translations * Fix broken registrations when no invite request text is submitted
11 lines
241 B
Ruby
11 lines
241 B
Ruby
class CreateUserInviteRequests < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :user_invite_requests do |t|
|
|
t.belongs_to :user, foreign_key: { on_delete: :cascade }
|
|
t.text :text
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|