This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/migrate/20190409054914_create_user_...

13 lines
272 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
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