about summary refs log blame commit diff
path: root/db/migrate/20190409054914_create_user_invite_requests.rb
blob: 974e0f69feb4e70c530dfff1c4766c31208061f4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10








                                                              
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