Add basic invitations

This commit is contained in:
2020-12-02 15:22:58 +01:00
parent 18df8fe449
commit d7fbda0855
12 changed files with 152 additions and 4 deletions

View File

@@ -10,7 +10,16 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_11_09_090739) do
ActiveRecord::Schema.define(version: 2020_11_30_132533) do
create_table "invitations", force: :cascade do |t|
t.string "token"
t.integer "user_id"
t.integer "invited_user_id"
t.datetime "used_at"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
end
create_table "users", force: :cascade do |t|
t.string "cn"