Skip to content

Commit 8d9df5f

Browse files
committed
๐Ÿ› fix: dB๋ฐ˜์˜์šฉ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ํŒŒ์ผ ์ž‘์„ฑ
1 parent 7194e80 commit 8d9df5f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { MigrationInterface, QueryRunner } from 'typeorm';
2+
3+
export class AlterProviderRefreshTokenNullable1760000000000
4+
implements MigrationInterface
5+
{
6+
public async up(queryRunner: QueryRunner): Promise<void> {
7+
await queryRunner.query(
8+
'ALTER TABLE `provider` MODIFY `refresh_token` varchar(255) NULL;',
9+
);
10+
}
11+
12+
public async down(queryRunner: QueryRunner): Promise<void> {
13+
await queryRunner.query(
14+
'ALTER TABLE `provider` MODIFY `refresh_token` varchar(255) NOT NULL;',
15+
);
16+
}
17+
}

0 commit comments

Comments
ย (0)