diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-09 16:06:30 +0200 |
---|---|---|
committer | Yamagishi Kazutoshi <ykzts@desire.sh> | 2019-04-09 23:06:30 +0900 |
commit | 8b69a66380bbe32127e717ca2d79244392b7d2b6 (patch) | |
tree | 3362aba467a4f40e108f38aa7bf4e76ba48df942 /db/migrate | |
parent | 0f3719f16fb5a2704416fa3afae00ba767ad2b2c (diff) |
Add "why do you want to join" field to invite requests (#10524)
* Add "why do you want to join" field to invite requests Fix #10512 * Remove unused translations * Fix broken registrations when no invite request text is submitted
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190409054914_create_user_invite_requests.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20190409054914_create_user_invite_requests.rb b/db/migrate/20190409054914_create_user_invite_requests.rb new file mode 100644 index 000000000..974e0f69f --- /dev/null +++ b/db/migrate/20190409054914_create_user_invite_requests.rb @@ -0,0 +1,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 |