forked from free-lancers/electricity_bill_calc_service
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			SQL
		
	
	
	
	
	
alter table if exists user drop constraint user_type_check;
 | 
						|
 | 
						|
alter table if exists user_detail drop constraint positive_service_fee;
 | 
						|
 | 
						|
alter table if exists user_charge drop constraint positive_fee;
 | 
						|
 | 
						|
alter table if exists user_charge drop constraint positive_amount;
 | 
						|
 | 
						|
alter table if exists park drop constraint positive_tenement;
 | 
						|
 | 
						|
alter table if exists park drop constraint positive_area;
 | 
						|
 | 
						|
alter table if exists park drop constraint positive_capacity;
 | 
						|
 | 
						|
alter table if exists park drop constraint category_check;
 | 
						|
 | 
						|
alter table if exists park drop constraint meter_check;
 | 
						|
 | 
						|
alter table if exists meter_04kv drop constraint positive_ratio;
 | 
						|
 | 
						|
alter table if exists maintenance_fee drop constraint positive_fee;
 | 
						|
 | 
						|
alter table if exists report drop constraint category_check;
 | 
						|
 | 
						|
alter table if exists report drop constraint meter_check;
 | 
						|
 | 
						|
alter table if exists report drop constraint withdraw_action_check;
 | 
						|
 | 
						|
alter table if exists will_diluted_fee drop constraint positive_fee;
 | 
						|
 | 
						|
alter table if exists end_user_detail drop constraint positive_ratio; |