autoWatch機能を削除
This commit is contained in:
		
							parent
							
								
									a6985d7dc7
								
							
						
					
					
						commit
						9d1fa3f202
					
				
					 10 changed files with 17 additions and 72 deletions
				
			
		
							
								
								
									
										14
									
								
								migration/1604821689616-delete-auto-watch.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								migration/1604821689616-delete-auto-watch.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| import {MigrationInterface, QueryRunner} from "typeorm"; | ||||
| 
 | ||||
| export class deleteAutoWatch1604821689616 implements MigrationInterface { | ||||
|     name = 'deleteAutoWatch1604821689616' | ||||
| 
 | ||||
|     public async up(queryRunner: QueryRunner): Promise<void> { | ||||
|         await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "autoWatch"`); | ||||
|     } | ||||
| 
 | ||||
|     public async down(queryRunner: QueryRunner): Promise<void> { | ||||
|         await queryRunner.query(`ALTER TABLE "user_profile" ADD "autoWatch" boolean NOT NULL DEFAULT false`); | ||||
|     } | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue