mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 05:24:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			416 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			416 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| export class SpeakAsCat1696386694000 {
 | |
| 	name = "SpeakAsCat1696386694000";
 | |
| 
 | |
| 	async up(queryRunner) {
 | |
| 		await queryRunner.query(`ALTER TABLE "user" ADD "speakAsCat" boolean NOT NULL DEFAULT true`);
 | |
| 		await queryRunner.query(`COMMENT ON COLUMN "user"."speakAsCat" IS 'Whether to speak as a cat if chosen.'`);
 | |
| 	}
 | |
| 
 | |
| 	async down(queryRunner) {
 | |
| 		await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "speakAsCat"`);
 | |
| 	}
 | |
| }
 |