mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 01:34:39 -04:00 
			
		
		
		
	* Set up alembic migration usage * Fix import order, add isort as alembic hook * Only run migrations if needed * Include date as part of migration file name for better sorting * Skip initial migrations if tables already exist This eases the transition from a pre-alembic state * Fix deprecation warning in alembic revision * Add alembic test stubs
		
			
				
	
	
		
			15 lines
		
	
	
		
			352 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			352 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import pytest
 | |
| 
 | |
| # Test that alembic revisions are applicable and result in the current database
 | |
| # See https://github.com/sqlalchemy/alembic/issues/724 for inspiration
 | |
| 
 | |
| 
 | |
| @pytest.mark.skip("TODO: Implement")
 | |
| def test_alembic_revisions_are_applicable():
 | |
|     pass
 | |
| 
 | |
| 
 | |
| @pytest.mark.skip("TODO: Implement")
 | |
| def test_alembic_revisions_are_up_to_date():
 | |
|     pass
 |