Disable create index as timescaledb doesn't seem to like it.
This commit is contained in:
		
							parent
							
								
									68ed34472d
								
							
						
					
					
						commit
						a9b42c481e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								main.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
										
									
									
									
								
							| 
						 | 
					@ -421,7 +421,7 @@ func connectToPostgreSQL(pgConnStr string) error {
 | 
				
			||||||
			returning_l2 INT,
 | 
								returning_l2 INT,
 | 
				
			||||||
			returning_l3 INT
 | 
								returning_l3 INT
 | 
				
			||||||
			);
 | 
								);
 | 
				
			||||||
		CREATE UNIQUE INDEX IF NOT EXISTS timestamp_idx ON p1 (timestamp);
 | 
							-- CREATE UNIQUE INDEX IF NOT EXISTS timestamp_idx ON p1 (timestamp);
 | 
				
			||||||
	`)
 | 
						`)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		log.Fatal("Error creating table:", err)
 | 
							log.Fatal("Error creating table:", err)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue