Fix how we interpret Product.id_enforced values
				
					
				
			will be an age, not a flag
This commit is contained in:
		
							parent
							
								
									e0058c003d
								
							
						
					
					
						commit
						07c24b63dc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -316,7 +316,7 @@ class Product(Base):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    quantity_enforced = sa.Column('qttyEnforced', sa.Boolean(), nullable=True)
 | 
					    quantity_enforced = sa.Column('qttyEnforced', sa.Boolean(), nullable=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    id_enforced = sa.Column('idEnforced', sa.Boolean(), nullable=True)
 | 
					    id_enforced = sa.Column('idEnforced', sa.SmallInteger(), nullable=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    cost = sa.Column(sa.Float(), nullable=True, default=0)
 | 
					    cost = sa.Column(sa.Float(), nullable=True, default=0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue