diff options
author | ThibG <thib@sitedethib.com> | 2019-08-19 11:40:42 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-19 11:40:42 +0200 |
commit | cb62a83a71a9679061f8daa468119124b5da5e76 (patch) | |
tree | de738499adbad4d4ebbd76401b3632946d0fa96e /db | |
parent | 9b6a5ed109e1986149c1f15a41d4f442ae8ae39c (diff) |
Add invite comments (#10465)
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20190403141604_add_comment_to_invites.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20190403141604_add_comment_to_invites.rb b/db/migrate/20190403141604_add_comment_to_invites.rb new file mode 100644 index 000000000..f0d7b1dcd --- /dev/null +++ b/db/migrate/20190403141604_add_comment_to_invites.rb @@ -0,0 +1,5 @@ +class AddCommentToInvites < ActiveRecord::Migration[5.2] + def change + add_column :invites, :comment, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index 0da20d62f..18f615d61 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -344,6 +344,7 @@ ActiveRecord::Schema.define(version: 2019_08_15_225426) do t.datetime "created_at", null: false t.datetime "updated_at", null: false t.boolean "autofollow", default: false, null: false + t.text "comment" t.index ["code"], name: "index_invites_on_code", unique: true t.index ["user_id"], name: "index_invites_on_user_id" end |