20190409054914_create_user_invite_requests.rb 272 B

123456789101112
  1. # frozen_string_literal: true
  2. class CreateUserInviteRequests < ActiveRecord::Migration[5.2]
  3. def change
  4. create_table :user_invite_requests do |t|
  5. t.belongs_to :user, foreign_key: { on_delete: :cascade }
  6. t.text :text
  7. t.timestamps
  8. end
  9. end
  10. end