1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-25 12:08:22 +09:00
whippy-edition/db/migrate/20190409054914_create_user_invite_requests.rb

11 lines
241 B
Ruby
Raw Normal View History

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