fetch game pic and Steam AppID
This commit is contained in:
		
							parent
							
								
									8bc257aec6
								
							
						
					
					
						commit
						dff44f40c1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								setup.sh
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.sh
									
										
									
									
									
								
							| 
						 | 
					@ -77,7 +77,7 @@ class Game(db.Model):
 | 
				
			||||||
    created_at = db.Column(db.DateTime, default=datetime.utcnow)
 | 
					    created_at = db.Column(db.DateTime, default=datetime.utcnow)
 | 
				
			||||||
    redeem_date = db.Column(db.DateTime)
 | 
					    redeem_date = db.Column(db.DateTime)
 | 
				
			||||||
    user_id = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)
 | 
					    user_id = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)
 | 
				
			||||||
	steam_appid = db.Column(db.String(20))
 | 
					    steam_appid = db.Column(db.String(20))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@login_manager.user_loader
 | 
					@login_manager.user_loader
 | 
				
			||||||
def load_user(user_id):
 | 
					def load_user(user_id):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue