You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							348 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							18 lines
						
					
					
						
							348 B
						
					
					
				
								create table video
							 | 
						|
								(
							 | 
						|
									id serial not null,
							 | 
						|
									video_url varchar(255) not null,
							 | 
						|
									struc_id int
							 | 
						|
								);
							 | 
						|
								
							 | 
						|
								comment on column video.video_url is '泵站摄像头嵌入链接';
							 | 
						|
								
							 | 
						|
								comment on column video.struc_id is '泵站id,不填就是全部';
							 | 
						|
								
							 | 
						|
								create unique index video_id_uindex
							 | 
						|
									on video (id);
							 | 
						|
								
							 | 
						|
								alter table video
							 | 
						|
									add constraint video_pk
							 | 
						|
										primary key (id);
							 | 
						|
								
							 | 
						|
								
							 |