mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
				synced 2025-11-03 21:53:30 +00:00 
			
		
		
		
	So far we have only GERAN-A and UTRAN-Iu, but to be future compatible, implement an arbitrary length list of RAT types: add DB table subscriber_rat. Backwards compatibility: if there is no entry in subscriber_rat, all RAT types shall be allowed. As soon as there is an entry, it can either be false to forbid a RAT or true to still allow a RAT type. Depends: I93850710ab55a605bf61b95063a69682a2899bb1 (libosmocore) Change-Id: I3e399ca8a85421f77a9a15e608413d1507722955
		
			
				
	
	
		
			9 lines
		
	
	
		
			245 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			245 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
 | 
						|
CREATE TABLE subscriber_rat (
 | 
						|
	subscriber_id	INTEGER,		-- subscriber.id
 | 
						|
	rat		TEXT CHECK(rat in ('GERAN-A', 'UTRAN-Iu')) NOT NULL,	-- Radio Access Technology, see enum ran_type
 | 
						|
	allowed		BOOLEAN NOT NULL DEFAULT 0,
 | 
						|
);
 | 
						|
 | 
						|
PRAGMA user_version = 3;
 |