mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			33 lines
		
	
	
		
			923 B
		
	
	
	
		
			Matlab
		
	
		
		
			
		
	
	
			33 lines
		
	
	
		
			923 B
		
	
	
	
		
			Matlab
		
	
| 
											9 years ago
										 | // | ||
|  | //  Copyright (c) 2017 Open Whisper Systems. All rights reserved. | ||
|  | // | ||
| 
											9 years ago
										 | 
 | ||
|  | #import "OWS101ExistingUsersBlockOnIdentityChange.h" | ||
|  | #import <YapDatabase/YapDatabaseTransaction.h> | ||
|  | 
 | ||
|  | NS_ASSUME_NONNULL_BEGIN | ||
|  | 
 | ||
|  | // Increment a similar constant for every future DBMigration | ||
|  | static NSString *const OWS101ExistingUsersBlockOnIdentityChangeMigrationId = @"101"; | ||
|  | 
 | ||
| 
											9 years ago
										 | /** | ||
|  |  * This migration is no longer necessary, but deleting a class is complicated in Yap | ||
|  |  * and involves writing another migration to remove the previous. It seemed like the | ||
|  |  * simplest/safest thing to do would be to just leave it. | ||
|  |  */ | ||
| 
											9 years ago
										 | @implementation OWS101ExistingUsersBlockOnIdentityChange | ||
|  | 
 | ||
|  | + (NSString *)migrationId | ||
|  | { | ||
|  |     return OWS101ExistingUsersBlockOnIdentityChangeMigrationId; | ||
|  | } | ||
|  | 
 | ||
|  | - (void)runUpWithTransaction:(YapDatabaseReadWriteTransaction *)transaction | ||
|  | { | ||
| 
											8 years ago
										 |     OWSFail(@"[OWS101ExistingUsersBlockOnIdentityChange] has been obviated."); | ||
| 
											9 years ago
										 | } | ||
|  | 
 | ||
|  | @end | ||
|  | 
 | ||
|  | NS_ASSUME_NONNULL_END |