mirror of
				https://github.com/StefBuwalda/WebTech.git
				synced 2025-10-30 19:29:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			288 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			288 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from application import db
 | |
| from flask_login import UserMixin  # type: ignore
 | |
| 
 | |
| 
 | |
| class User(db.Model, UserMixin):
 | |
|     id = db.Column(db.Integer, primary_key=True)
 | |
|     username = db.Column(db.String(150), unique=True, nullable=False)
 | |
|     password = db.Column(db.String(150), nullable=False)
 |