mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	
		
			
	
	
		
			27 lines
		
	
	
		
			528 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			528 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|  | """${message} | ||
|  | 
 | ||
|  | Revision ID: ${up_revision} | ||
|  | Revises: ${down_revision | comma,n} | ||
|  | Create Date: ${create_date} | ||
|  | 
 | ||
|  | """ | ||
|  | import sqlalchemy as sa | ||
|  | 
 | ||
|  | import mealie.db.migration_types | ||
|  | from alembic import op | ||
|  | ${imports if imports else ""} | ||
|  | 
 | ||
|  | # revision identifiers, used by Alembic. | ||
|  | revision = ${repr(up_revision)} | ||
|  | down_revision = ${repr(down_revision)} | ||
|  | branch_labels = ${repr(branch_labels)} | ||
|  | depends_on = ${repr(depends_on)} | ||
|  | 
 | ||
|  | 
 | ||
|  | def upgrade(): | ||
|  |     ${upgrades if upgrades else "pass"} | ||
|  | 
 | ||
|  | 
 | ||
|  | def downgrade(): | ||
|  |     ${downgrades if downgrades else "pass"} |