Add sql schema file to sql/
This commit is contained in:
		
							parent
							
								
									3f0ea7079a
								
							
						
					
					
						commit
						cbeb743904
					
				
							
								
								
									
										16
									
								
								sql/mysql.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								sql/mysql.sql
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					-- --------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--
 | 
				
			||||||
 | 
					-- Table structure for table `defense`
 | 
				
			||||||
 | 
					--
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CREATE TABLE IF NOT EXISTS `defense` (
 | 
				
			||||||
 | 
					  `id` int(11) NOT NULL AUTO_INCREMENT,
 | 
				
			||||||
 | 
					  `epoch` int(11) NOT NULL,
 | 
				
			||||||
 | 
					  `type` tinyint(4) NOT NULL,
 | 
				
			||||||
 | 
					  `ipaddr` varchar(40) NOT NULL,
 | 
				
			||||||
 | 
					  `data` text NOT NULL,
 | 
				
			||||||
 | 
					  PRIMARY KEY (`id`)
 | 
				
			||||||
 | 
					) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=30 ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					-- --------------------------------------------------------
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user