mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* Added a fix for the blank page of the app url if the user is redirected from the invitation page * Added workspace signup changes * fix: could able to access sso only enabled workspace if switch b/w workspace after the flow completed * fix: Getting something went wrong error when personal workspace is disabled * Fix: logging with super-admin creds while ongoing session of another user making issue for a workspace switch * fix: Resend workspace signup email is not working * Added new changes to the resend-invite API * Updating the source to invite while unarchiving the user * Added forgot password fix (#447) * Fixed import errors * fixed invite flow sso error fallBack flow --------- Co-authored-by: Midhun G S <gsmithun4@gmail.com>
20 lines
629 B
TypeScript
20 lines
629 B
TypeScript
import { MigrationInterface, QueryRunner, TableColumn } from 'typeorm';
|
|
|
|
export class AddSourceToOrganizationUsers1716975639914 implements MigrationInterface {
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.addColumns('organization_users', [
|
|
new TableColumn({
|
|
name: 'source',
|
|
type: 'enum',
|
|
enumName: 'source',
|
|
enum: ['signup', 'invite'],
|
|
default: `'invite'`,
|
|
isNullable: false,
|
|
}),
|
|
]);
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.dropColumns('organization_users', ['source']);
|
|
}
|
|
}
|