fix: remove Change data model
				
					
				
			since it isn't actually part of CORE, and is now handled in other ways with regard to datasync
This commit is contained in:
		
							parent
							
								
									e9638c73a4
								
							
						
					
					
						commit
						66cf108b3f
					
				
					 1 changed files with 1 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
################################################################################
 | 
			
		||||
#
 | 
			
		||||
#  pyCOREPOS -- Python Interface to CORE POS
 | 
			
		||||
#  Copyright © 2018-2023 Lance Edgar
 | 
			
		||||
#  Copyright © 2018-2024 Lance Edgar
 | 
			
		||||
#
 | 
			
		||||
#  This file is part of pyCOREPOS.
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			@ -54,23 +54,6 @@ class StringableDateTime(sa.TypeDecorator):
 | 
			
		|||
        raise NotImplementedError
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Change(Base):
 | 
			
		||||
    """
 | 
			
		||||
    Represents a changed (or deleted) record, which is pending synchronization
 | 
			
		||||
    to another system(s).
 | 
			
		||||
 | 
			
		||||
    .. note::
 | 
			
		||||
       This table may or may not be installed to a given CORE Office Op DB.  Its
 | 
			
		||||
       presence is required if Rattail datasync needs to "watch" the DB.
 | 
			
		||||
    """
 | 
			
		||||
    __tablename__ = 'datasync_changes'
 | 
			
		||||
 | 
			
		||||
    id = sa.Column(sa.Integer(), nullable=False, primary_key=True)
 | 
			
		||||
    object_type = sa.Column(sa.String(length=255), nullable=False)
 | 
			
		||||
    object_key = sa.Column(sa.String(length=255), nullable=False)
 | 
			
		||||
    deleted = sa.Column(sa.Boolean(), nullable=False, default=False)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Parameter(Base):
 | 
			
		||||
    """
 | 
			
		||||
    Represents a "parameter" value.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue