mirror of
https://github.com/funamitech/mastodon
synced 2024-12-05 10:18:45 +09:00
13 lines
272 B
Ruby
13 lines
272 B
Ruby
# 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
|