mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 10:30:15 -05:00
11 lines
241 B
Ruby
11 lines
241 B
Ruby
|
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
|