20190409054914_create_user_invite_requests.rb 241 B

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