mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* feat :: added phone number input * Add: phone number to signup api * revert some changes * cleanup logs * feat :: cloud phone number addition * service * check for phone input * add: ph number to onboarding & setup-admin apis * validation for phone number * check for wrong phone number case * adding check if phonenumber is present * fix :: conditions for active button * removed validation * fix :: dark mode style * lint fixes --------- Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
18 lines
516 B
TypeScript
18 lines
516 B
TypeScript
import { MigrationInterface, QueryRunner, TableColumn } from 'typeorm';
|
|
|
|
export class AddPhoneNumberToUsers1678790363938 implements MigrationInterface {
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.addColumn(
|
|
'users',
|
|
new TableColumn({
|
|
name: 'phone_number',
|
|
type: 'varchar',
|
|
isNullable: true,
|
|
})
|
|
);
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.dropColumn('users', 'phone_number');
|
|
}
|
|
}
|