mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 01:25:06 +01:00 
			
		
		
		
	Fix errors
This commit is contained in:
		internal/repository
@@ -16,7 +16,7 @@ import (
 | 
			
		||||
	"github.com/golang-migrate/migrate/v4/source/iofs"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const Version uint = 3
 | 
			
		||||
const Version uint = 4
 | 
			
		||||
 | 
			
		||||
//go:embed migrations/*
 | 
			
		||||
var migrationFiles embed.FS
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,7 @@ load_avg            REAL NOT NULL DEFAULT 0.0,
 | 
			
		||||
net_bw_avg          REAL NOT NULL DEFAULT 0.0,
 | 
			
		||||
net_data_vol_total  REAL NOT NULL DEFAULT 0.0,
 | 
			
		||||
file_bw_avg         REAL NOT NULL DEFAULT 0.0,
 | 
			
		||||
file_data_vol_total REAL NOT NULL DEFAULT 0.0;
 | 
			
		||||
file_data_vol_total REAL NOT NULL DEFAULT 0.0);
 | 
			
		||||
 | 
			
		||||
CREATE TABLE IF NOT EXISTS tag (
 | 
			
		||||
id       INTEGER PRIMARY KEY,
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								internal/repository/testdata/job.db-shm
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										
											BIN
										
									
								
								internal/repository/testdata/job.db-shm
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										0
									
								
								internal/repository/testdata/job.db-wal
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										0
									
								
								internal/repository/testdata/job.db-wal
									
									
									
									
										vendored
									
									
								
							
							
								
								
									
										
											BIN
										
									
								
								internal/repository/testdata/test.db
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										
											BIN
										
									
								
								internal/repository/testdata/test.db
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user