feat: fix issues in invite user.

feat: fix update last login at after login.
This commit is contained in:
Ahmed Bouhuolia
2020-09-05 22:18:53 +02:00
parent d35b124178
commit 750377ba86
16 changed files with 535 additions and 336 deletions

View File

@@ -13,6 +13,7 @@ exports.up = function (knex) {
table.integer('tenant_id').unsigned();
table.date('invite_accepted_at');
table.date('last_login_at');
table.timestamps();
}).then(() => {

View File

@@ -6,6 +6,7 @@ import Voucher from './Subscriptions/Voucher';
import Tenant from './Tenant';
import SystemUser from './SystemUser';
import PasswordReset from './PasswordReset';
import Invite from './Invite';
export {
Plan,
@@ -15,4 +16,5 @@ export {
Tenant,
SystemUser,
PasswordReset,
Invite,
}