mirror of
https://github.com/twentyhq/twenty.git
synced 2026-06-14 10:59:20 -04:00
Add defaultAvatarUrl to core user (#3883)
* Add defaultAvatarUrl to core user
This reverts commit 1701c30eb1.
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddDefaultAvatarUrlToUser1706613419989
|
||||
implements MigrationInterface
|
||||
{
|
||||
name = 'AddDefaultAvatarUrlToUser1706613419989';
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
`ALTER TABLE "core"."user" ADD "defaultAvatarUrl" character varying`,
|
||||
);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
`ALTER TABLE "core"."user" DROP COLUMN "defaultAvatarUrl"`,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user